Install chezmoi
chezmoi is distributed as a single stand-alone statically-linked binary with no dependencies. You can install it using your package manager, download a pre-built binary, or build from source.One-Line Package Install
Install chezmoi with your package manager with a single command:- Linux
- macOS
- Windows
- FreeBSD
- OpenIndiana
Cross-Platform Package Managers
chezmoi is also available in several cross-platform package managers:One-Line Binary Install
Install the correct binary for your operating system and architecture in./bin with a single command:
Customize Installation Directory
By default, the install script places the binary in./bin. You can customize this:
Download Pre-Built Packages
Download a package for your distribution and architecture from the latest release:- Debian/Ubuntu (.deb)
- RHEL/Fedora (.rpm)
- Alpine (.apk)
- Arch Linux
Available architectures:
- amd64 (x86_64)
- arm64 (aarch64)
- armel, armhf
- i386
- ppc64, ppc64le
- riscv64
- s390x
- loong64
https://github.com/twpayne/chezmoi/releases/latestDownload Pre-Built Binaries
Download an archive for your operating system and architecture containing a pre-built binary and shell completions:- Linux
- macOS
- Windows
- FreeBSD
- OpenBSD
Download
.tar.gz archives for:- amd64, i386
- arm, arm64
- ppc64, ppc64le
- riscv64
- s390x
- loong64, mips64, mips64le
linux-glibc_amd64- glibc versionlinux-musl_amd64- musl versionandroid_arm64- Termux
Build from Source
Build and install chezmoi with Go 1.25 or later:Verify Your Download
chezmoi’s release process signs the SHA256 checksums of all released assets with cosign.Next Steps
Quick Start
Learn how to start using chezmoi
User Guide
Understand chezmoi’s concepts and workflow