aicoolies logo
Chezmoi logo
Chezmoi logo

Chezmoi

Cross-machine dotfile manager with template support and encryption

open sourceupdated Apr 21, 2026

Chezmoi manages dotfiles across multiple machines with template support for machine-specific configuration, secret encryption, and integration with password managers. It handles the complexity of maintaining consistent development environments across work laptops, personal machines, and servers. Over 15,000 GitHub stars with support for 1Password, Bitwarden, LastPass, and gpg encryption.

Chezmoi addresses the common developer need of maintaining consistent shell configurations, editor settings, and tool configurations across multiple machines while handling the machine-specific differences that make naive dotfile syncing break. Templates with Go's text/template syntax generate different configuration for different operating systems, hostnames, or user preferences from a single source file. Secrets like API tokens integrate through 1Password, Bitwarden, LastPass, or GPG encryption rather than being committed to version control in plaintext.

The workflow model separates the source state from the target state cleanly. Dotfiles are managed in a Git repository that Chezmoi maintains separately from the home directory, applying changes through explicit apply commands rather than symlinks that can cause confusion when tools modify their own configuration files. The diff and verify commands show exactly what changes will be applied before modifying any files, preventing surprises.

Chezmoi handles edge cases that simpler dotfile managers ignore: files that need different permissions, directories that should exist but not be tracked, scripts that run during specific lifecycle events, and configuration files that are partially managed where some sections are templated while others are left for local customization. With over 15,000 GitHub stars, Chezmoi has become the most popular dedicated dotfile management tool in the developer ecosystem.

Pricing

Free and open-source under MIT license

Platforms

Linux, macOS, Windows, any OS with Go support

Categories

Tags

Use Cases

Related Tools

computed discovery: shared active categories · kept separate from editor-verified Alternatives

Grok logo

Grok Build

Top Pick

xAI's terminal coding agent with parallel subagents and worktree-aware automation

Grok Build is xAI's terminal-first coding agent for planning, editing, testing, and reviewing code from a local CLI. The early beta exposes subagent controls, worktree mode, headless JSON output, best-of-N parallel attempts, sandbox profiles, and experimental memory. It fits developers comparing Claude Code, Codex, and Gemini CLI for local agentic workflows with deeper parallel execution.

paid
Ghostty logo

Ghostty

Top Pick

Fast, native terminal emulator

GPU-accelerated terminal emulator written in Zig by Mitchell Hashimoto (HashiCorp co-founder). Native UI rendering on macOS and Linux. Supports ligatures, true color, Kitty graphics protocol, and splits/tabs. Configurable via a simple key-value file with sensible defaults. Open-source with 20K+ GitHub stars and a focus on correctness, speed, and minimal resource usage. Growing as a modern alternative to iTerm2, Alacritty, and WezTerm.

Open Source
Claude Code logo

Claude Code

Top Pick

Anthropic's agentic coding CLI

Anthropic's agentic CLI coding tool that delegates complex tasks to Claude directly from the terminal. Understands entire codebases via automatic context gathering, edits multiple files, runs shell commands, and manages Git workflows autonomously. Supports CLAUDE.md for persistent project instructions, integrates with VS Code and JetBrains, and uses Claude Opus/Sonnet with extended thinking for complex architectural decisions. Built for terminal-first developers.

paid
Codex logo

Codex

Top Pick

OpenAI coding agent for app, editor, terminal, and cloud work

Codex is OpenAI's coding agent for software development across the Codex app, editor, terminal, and cloud tasks. It helps write, review, debug, refactor, and automate code, with ChatGPT plan access for managed surfaces and API-key usage for CLI, SDK, and IDE workflows. The open-source CLI and SDK support local repository work, while cloud features add GitHub review, Slack/Linear integrations, worktrees, skills, MCP, and automations.

freemium
roborev logo

roborev

Continuous local code-review loops for commits produced by AI coding agents

roborev is an MIT-licensed local review system that checks every commit in the background, stores findings in a review queue, and feeds actionable issues back into AI coding sessions. Git hooks, a TUI, branch and dirty-tree analysis, Codex and Claude agent hooks, plus iterative fix/refine commands turn review into a continuous agent workflow.

Open SourceTelemetry
Windows-MCP logo

Windows-MCP

MCP server for controlling Windows desktops through UIAutomation

Windows-MCP is an open-source MCP server for giving AI agents structured access to Windows desktop automation. It focuses on UIAutomation, snapshots, input control, and Windows-specific app workflows, making it different from general filesystem or shell MCP servers.

Open Source

FAQ

What is Chezmoi?

Chezmoi manages dotfiles across multiple machines with template support for machine-specific configuration, secret encryption, and integration with password managers. It handles the complexity of maintaining consistent development environments across work laptops, personal machines, and servers. Over 15,000 GitHub stars with support for 1Password, Bitwarden, LastPass, and gpg encryption.

Is Chezmoi free?

Yes — Chezmoi is open source and free to use. Free and open-source under MIT license

Is Chezmoi open source?

Yes — Chezmoi is open source.

What are the best Chezmoi alternatives?

The top editor-verified Chezmoi alternatives are devenv, OrbStack.