Code editors and AI coding tools · Researched comparison
Best Dotfile Managers for Developers in 2026
chezmoi is the first pick for most developers. It handles templates, secrets managers and multi-machine setups, and it runs on Linux, macOS and Windows. Choose GNU Stow if you want the simplest symlink-based approach with no extra tooling. Choose yadm if you prefer a single Git repository with a thin wrapper and already know Git well.
We run no ads and no affiliate links at launch. The order of a list follows our published method.
Prices are the starting prices vendors list publicly. Plans change, so confirm the current price on the vendor page before you buy.
Key takeaways
chezmoi, GNU Stow, yadm, rcm, dotbot and Bare Git are free and open source, so cost is not a deciding factor.
chezmoi and yadm work on Linux, macOS and Windows; GNU Stow and rcm are Unix-focused.
Most managers are wrappers around Git or symlinks, so your files stay plain text you can read and edit.
None of these tools store secrets for you; pair them with a secrets manager rather than committing tokens.
Tool
Best for
Standout feature
Listed starting price
Free plan or trial
1 chezmoi
Multi-machine setups with templates and secrets
Templates and secrets manager integration
Free (open source)
Free plan
2 GNU Stow
Simple symlink farms on Unix systems
Very small and predictable
Free (open source)
Free plan
3 yadm
Git users who want one repo for all dotfiles
Thin wrapper over Git with alternate files per OS or host
Free (open source)
Free plan
4 rcm
Users who want a managed dotfiles directory with hooks
Clear directory layout with host-specific overrides
Free (open source)
Free plan
5 dotbot
Repos that want a config-driven installer
Declarative YAML config
Free (open source)
Free plan
How we picked
We compared tools on fit for the dotfile management job, supported platforms, licence and price, and how each handles per-machine differences and secrets. We also looked at the main limits: whether a tool templates files, whether it wraps Git, and whether it targets Windows. Sources are vendor pages, official documentation and project repositories. Prices and licences can change, so confirm details on the vendor site before you commit.
01
chezmoi
Best for: Multi-machine setups with templates and secrets
chezmoi keeps your dotfiles in a source directory and applies them to your home directory. It supports Go templates, so one file can differ per machine, OS or hostname. It can pull secrets at apply time from password managers and secret stores instead of storing them in the repo. A single binary means no runtime dependencies, and it runs on Linux, macOS and Windows. It is MIT licensed and free. The main cost is learning its commands and directory conventions. Skip it if you only want plain symlinks and nothing else.
Pros
Templates and secrets manager integration
single binary for Linux, macOS and Windows
Cons
More concepts to learn than symlink tools
config lives in its own source directory
Price: Free (open source), as listed by the vendor (chezmoi website). Confirm the current plan price before you buy.
Skip it if this limit matters to you: more concepts to learn than symlink tools.
Verdict. A sensible pick for multi-machine setups with templates and secrets.
02
GNU Stow
Best for: Simple symlink farms on Unix systems
GNU Stow is a symlink farm manager. You keep each package in its own directory tree and Stow creates symlinks into a target directory, usually your home folder. It does one job and does it with few surprises. There is no templating, no secret handling and no Git integration, so you manage version control yourself. It is GPL licensed and free, and it is available in most Linux distributions and through Homebrew on macOS. Windows support depends on symlink permissions, so it is a weak fit there. Choose it if you want the smallest possible tool.
Pros
Very small and predictable
ships in most Linux package repos
Cons
No templating or secret handling
symlink model needs care on Windows
Price: Free (open source), as listed by the vendor (GNU Stow website). Confirm the current plan price before you buy.
Skip it if this limit matters to you: no templating or secret handling.
Verdict. A sensible pick for simple symlink farms on Unix systems.
03
yadm
Best for: Git users who want one repo for all dotfiles
yadm is a wrapper around Git that tracks your dotfiles in a single repository. You use normal Git commands with a yadm prefix. It supports alternate files, so a file can differ by OS, hostname or user class. It can encrypt files with GPG or OpenSSL before they enter the repo. It runs on Linux, macOS and Windows, and it is free under the GPL. Because it is Git underneath, your history and remotes work as expected. Skip it if you want declarative templates or do not want to learn Git workflows.
Pros
Thin wrapper over Git with alternate files per OS or host
encryption support via GPG
Cons
Requires comfort with Git
no template language
Price: Free (open source), as listed by the vendor (yadm website). Confirm the current plan price before you buy.
Skip it if this limit matters to you: requires comfort with Git.
Verdict. A sensible pick for git users who want one repo for all dotfiles.
04
rcm
Best for: Users who want a managed dotfiles directory with hooks
rcm is a set of shell tools from thoughtbot. It keeps dotfiles in a directory and symlinks them into place with the rcup command. It supports host-specific and tag-based overrides, so one repo can serve several machines. Hooks let you run commands before or after linking. It is BSD licensed and free, and it targets Unix-like systems including Linux and macOS. Windows is not a first-class target. It is a good fit if you like a plain directory of files plus a small set of commands, and you do not need templating.
Pros
Clear directory layout with host-specific overrides
hooks for pre- and post-run steps
Cons
Unix-oriented
smaller community than chezmoi or yadm
Price: Free (open source), as listed by the vendor (rcm website). Confirm the current plan price before you buy.
Skip it if this limit matters to you: unix-oriented.
Verdict. A sensible pick for users who want a managed dotfiles directory with hooks.
05
dotbot
Best for: Repos that want a config-driven installer
dotbot is a bootstrap tool for dotfiles. You describe links, shell commands and clean steps in a YAML file, and dotbot applies them. It is often added as a Git submodule, so a fresh machine can clone your repo and run one script. It is MIT licensed and free. It does not template files or manage secrets, and it does not track state between runs. It runs wherever Python runs, which covers Linux, macOS and Windows. Choose it if you want a declarative installer and are happy to handle per-host differences yourself.
Pros
Declarative YAML config
runs as a Git submodule with no install step
Cons
No templating
linking only, so secrets and per-host logic are yours to handle
Price: Free (open source), as listed by the vendor (dotbot website). Confirm the current plan price before you buy.
Skip it if this limit matters to you: no templating.
Verdict. A sensible pick for repos that want a config-driven installer.
Who should use what
If you run several machines with different settings and want templates plus secret-manager integration, start with chezmoi. If you want the smallest possible symlink tool on Linux or macOS, use GNU Stow. If you already live in Git and want one repo with alternate files, pick yadm. If you want a declarative YAML installer inside your repo, dotbot is a good fit. Minimalists who want nothing beyond Git can use a bare repository.
What to check before you buy
Confirm the tool runs on every OS you use, including Windows if that matters.
Check how it handles per-host or per-OS differences: templates, alternate files or overrides.
Decide how secrets are handled and keep tokens out of the repo.
Test a restore on a clean machine or container before you rely on it.
Read the licence and confirm the project is still maintained.
FAQ
Do I need a dotfile manager at all?
No. A Git repository and a few symlinks cover many setups. A manager helps when you have several machines, per-host differences or secrets to handle. It adds conventions and commands that reduce manual steps. Start simple and add a tool when the manual work becomes annoying.
Which dotfile managers work on Windows?
chezmoi and yadm both target Windows as well as Linux and macOS. GNU Stow and rcm are Unix-focused, and symlinks on Windows can need extra permissions. dotbot runs where Python runs. Check the current documentation for each tool before relying on Windows support.
How should I store secrets in my dotfiles?
Do not commit tokens, keys or passwords to the repository. Use a secrets manager and have your dotfile tool fetch values at apply time where it supports that. chezmoi integrates with several secret stores. yadm can encrypt files before they enter the repo. Treat any plain-text secret in a repo as exposed.
Can I switch dotfile managers later?
Yes, but plan the move. Most tools keep your files as plain text, so you can copy them into a new layout. Symlink-based tools and Git-based tools store state differently, so remove old links before applying new ones. Test on one machine before rolling out to the rest.
Are these tools free?
The tools listed here are free and open source under licences such as MIT, GPL and BSD. There is no paid tier for the core tools. Costs come from any secrets manager or hosting you pair with them. Confirm the licence on each project page.