dotfix
Several Macs, one setup. And nothing changes without your okay.
In short
dotfix keeps several Macs on the same footing: Homebrew packages, shell configuration and config files. Everything lives in a Git repository you own, grouped into sets that each machine picks for itself. dotfix changes nothing without asking and never overwrites a file you edited by hand.
- Who is it for?
- For anyone who uses more than one Mac and is tired of home-grown dotfile scripts.
- Runs on
- macOS 13+Apple siliconIntelHomebrewGitmacOS Keychain1Password
- What does it cost?
- Nothing. The source is open, under the MIT license.
What it’s about
A second Mac often starts with a week of small annoyances. The package you forgot. The alias that only exists on the other machine. The config file you tweaked once and never copied over.
The usual answer is a dotfiles repository full of scripts that nobody dares to touch after a while. dotfix works the other way round. You describe what a machine should have. dotfix shows you what differs and changes only what you approve.
dotfix comes as a command-line tool and as a menubar app. Both do exactly the same thing, so use whichever suits the moment.
What it does
Sets keep things tidy
- A set bundles packages, shell fragments and config files, for example
core,weborwork. Each machine picks only the sets it needs. - Homebrew formulae and casks. On first setup dotfix captures what is already installed.
- Your
.zshrcis assembled from the fragments of the active sets. Turn a set off and its lines go away too. - Config files as templates, so nothing is tied to a single machine.
Nothing happens behind your back
- dotfix compares three states: what the repository wants, what is on the machine and what dotfix itself last wrote. That is how it tells “another Mac added this” apart from “I removed it here on purpose”.
- Every difference is reported and explained. Anything that gets overwritten is backed up first.
- A file you edited by hand becomes a question for you, not a casualty.
Secrets stay out
- A set only names a secret. Each machine reads the value from the macOS Keychain, 1Password or an age-encrypted file.
- Values are redacted from all output. Files that look like credentials are not adopted.
In the background
- Once an hour dotfix checks the machine and writes a status line that your shell prints at startup. When nothing differs, it prints nothing.
- Your configuration lives in your own private Git repository. dotfix has no account, no backend and no telemetry.
Getting started
You need macOS 13 or newer, Homebrew and Git. Install through Homebrew:
brew tap NoiXdev/tap
brew install dotfix
Then set up your first machine and bring in every other one:
dotfix init --set-up-new # first Mac: build a repository from this Mac
dotfix init # every Mac after that: clone and apply
Day to day it is dotfix status (only reports), dotfix apply, dotfix adopt for
whatever grew locally and dotfix doctor to check the setup. The menubar app is
optional: the DMG is on the releases page.
Everything else is in the documentation.
dotfix compared
We like the other tools too. Here they are, side by side and honest.
| dotfix | chezmoi | yadm | Homebrew Bundle | |
|---|---|---|---|---|
| Free and open source | ✓yes | ✓yes | ✓yes | ✓yes |
| Keeps Homebrew packages in sync | ✓yes | via scripts | via bootstrap script | ✓yes |
| Config files with templates | ✓yes | ✓yes | ✓yes | –no |
| Secrets from Keychain or 1Password | ✓yes | ✓yes | encrypted files | –no |
| Menubar app | ✓yes | –no | –no | –no |
| Also runs on Linux | –no | ✓yes | ✓yes | ✓yes |
As of November 2026. No guarantee; corrections welcome as an issue.
When something else fits better
Not every tool fits every job. In these cases we'd point you somewhere else ourselves:
When you also manage dotfiles on Linux or Windows machines, or use a password manager other than 1Password.
When you want to keep working with plain Git and encrypted files are enough for your secrets.
When packages are all you want to keep in sync. A Brewfile is quick to write and needs no extra tool.
Frequently asked questions
Is dotfix free?
Yes. dotfix is free and open source under the MIT license. There is no account and no telemetry.
How is dotfix different from chezmoi?
chezmoi manages dotfiles on many systems, and Homebrew packages go through scripts there. dotfix is built for the Mac only, syncs Homebrew packages directly and comes with a menubar app.
Do I need Homebrew and Git?
Yes, both. The GitHub CLI is optional and only used to create the repository for you during setup.
Do my passwords end up in the repository?
No. A set only refers to a secret by name. Each machine reads the value from the macOS Keychain, 1Password or an age-encrypted file. dotfix redacts values from its output.
Does dotfix replace a Brewfile?
For packages, yes. On first setup dotfix captures what is already installed, formulae and casks alike. After that you decide which machine gets which sets.
Does dotfix run on Linux?
No, only on macOS 13 or newer, on Apple silicon and Intel. For Linux, chezmoi or yadm is the better pick.
Something broken, or missing?
An issue in the repository is the quickest way. For wishes and questions too.
Open an issueRather ask directly?
Our Discord is where we help out, and so do other people who use the tool.
Join the DiscordFrom the logbook
- New project
dotfix: several Macs, one setup
dotfix keeps several Macs on the same footing: Homebrew packages, shell and config files. It changes nothing without asking first.