# Install chezmoi with Homebrew, apk, chocolatey, dnf, MacPorts, Nix, pacman, zypper, scoop, winget

Manage your dotfiles across multiple diverse machines, securely. Version 2.71.0 via Homebrew; verified 2026-07-08.

## Install

```sh
sudo av install brew:chezmoi
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install chezmoi
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install chezmoi
```

  Evidence: MacPorts ports tree: sysutils/chezmoi/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add chezmoi
```

  Evidence: Alpine Linux edge package indexes: chezmoi from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install chezmoi
```

  Evidence: Fedora Rawhide package metadata: chezmoi from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#chezmoi
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ch/chezmoi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S chezmoi
```

  Evidence: Arch Linux sync databases: chezmoi from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install chezmoi
```

  Evidence: openSUSE Tumbleweed package metadata: chezmoi from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install chezmoi
```

  Evidence: Chocolatey community package catalog: chezmoi from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','carbon'

- Scoop (92%):

```sh
scoop install main/chezmoi
```

  Evidence: Scoop official bucket manifest trees: bucket/chezmoi.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id twpayne.chezmoi -e
```

  Evidence: Windows Package Manager source index: twpayne.chezmoi from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:chezmoi
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/chezmoi>
- **Version:** 2.71.0
- **Source summary:** Manage your dotfiles across multiple diverse machines, securely
- **Homepage:** <https://chezmoi.io/>
- **Repository:** <https://github.com/twpayne/chezmoi>
- **Upstream docs:** <https://www.chezmoi.io/>
- **License:** MIT
- **Source archive:** <https://github.com/twpayne/chezmoi/releases/download/v2.71.0/chezmoi-2.71.0.tar.gz>
- **Last updated:** 2026-07-08T03:27:53Z
- **Generated:** 2026-07-10T07:20:53+00:00

## Executables

- chezmoi (cli)
- chezmoi (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-10
- Package-manager version: 2.71.0
- Package-manager updated: 2026-07-08
- Local data: ok
- Upstream repository: https://github.com/twpayne/chezmoi
- info: No cached GitHub release or tag data was available.
## Project history and usage

chezmoi is a dotfile manager for keeping personal configuration synchronized across different machines, with explicit support for secure, templated, and machine-specific state.

### Project history

The project is maintained by Tom Payne in the official twpayne/chezmoi repository and documents itself as a tool to manage dotfiles across multiple diverse machines, securely.

The official release history records a 1.0.0 release on 2019-01-13, a 2.0.0 release on 2021-03-17, and frequent 2.x releases continuing through 2.70.5 on 2026-06-03.

### Adoption history

chezmoi's adoption follows the modern dotfiles wave: users increasingly keep shell, editor, Git, SSH-adjacent, and app configuration in version control while needing per-machine templates and secret integration.

The input package metadata lists broad distribution through Homebrew, Alpine, Chocolatey, Fedora, MacPorts, Nix, Arch, Scoop, winget, and openSUSE. Homebrew reported 133,114 trailing-365-day installs at research time.

### How it is used

The usual package-manager workflow is `brew install chezmoi`, then initialize a source state and apply it on each machine. The documented config file lives under the XDG config directory, with JSON, JSONC, TOML, or YAML formats.

chezmoi is commonly used for repeatable workstation bootstrap, keeping a dotfiles repo portable while allowing host-specific templates and secure handling of private data.

### Why package nerds care

chezmoi is one of the notable package-manager-era dotfile tools because it turns a personal dotfiles repository into an installable, cross-platform command with clear config-file conventions.

For package nerds, its attraction is pragmatic: one binary, many package managers, Git-friendly state, and enough security/template behavior to replace a pile of ad hoc shell scripts.

### Timeline

- 2019: chezmoi 1.0.0 released.
- 2021: chezmoi 2.0.0 released.
- 2026: chezmoi 2.70.5 released and tracked by Homebrew.

### Related projects

- chezmoi belongs to the dotfile-management family alongside Git-backed home-directory managers and package bootstrap scripts, but its official docs emphasize secure multi-machine dotfile management rather than a single-host symlink farm.
- It is frequently paired in practice with package managers, Git hosting, shells, editors, and password-manager tooling, because those are the systems whose configuration users tend to synchronize.

### Sources

- <https://www.chezmoi.io/>
- <https://www.chezmoi.io/reference/configuration-file/>
- <https://www.chezmoi.io/reference/release-history/>
- <https://formulae.brew.sh/api/formula/chezmoi.json>


## Security Notes

No matching local secret-handling manifest was found for chezmoi. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.config/chezmoi/chezmoi.$FORMAT
- Windows: %USERPROFILE%/.config/chezmoi/chezmoi.$FORMAT
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** chezmoi
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - chezmoi: normalized package name match | nixpkgs package indexes: pkgs/by-name/ch/chezmoi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - chezmoi - 2.70.5-r0: normalized package name match | Alpine Linux edge package indexes: chezmoi from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Manage your dotfiles across multiple machines, securely. | https://www.chezmoi.io/
- apk - chezmoi-bash-completion - 2.70.5-r0: normalized package name match | Alpine Linux edge package indexes: chezmoi-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for chezmoi | https://www.chezmoi.io/
- apk - chezmoi-fish-completion - 2.70.5-r0: normalized package name match | Alpine Linux edge package indexes: chezmoi-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for chezmoi | https://www.chezmoi.io/
- apk - chezmoi-zsh-completion - 2.70.5-r0: normalized package name match | Alpine Linux edge package indexes: chezmoi-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for chezmoi | https://www.chezmoi.io/
- dnf - chezmoi - 2.70.5-1.fc45: normalized package name match | Fedora Rawhide package metadata: chezmoi from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Manage your dotfiles across multiple diverse machines | https://github.com/twpayne/chezmoi
- pacman - chezmoi - 2.70.5-1: normalized package name match | Arch Linux sync databases: chezmoi from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Manage your dotfiles across multiple machines | https://www.chezmoi.io/
- zypper - chezmoi - 2.70.4-1.1: normalized package name match | openSUSE Tumbleweed package metadata: chezmoi from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A multi-host manager for dotfiles | https://chezmoi.io
- zypper - chezmoi-bash-completion - 2.70.4-1.1: normalized package name match | openSUSE Tumbleweed package metadata: chezmoi-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Bash completion for chezmoi | https://chezmoi.io
- zypper - chezmoi-fish-completion - 2.70.4-1.1: normalized package name match | openSUSE Tumbleweed package metadata: chezmoi-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Fish completion for chezmoi | https://chezmoi.io
- zypper - chezmoi-zsh-completion - 2.70.4-1.1: normalized package name match | openSUSE Tumbleweed package metadata: chezmoi-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Zsh completion for chezmoi | https://chezmoi.io
- MacPorts - chezmoi: normalized package name match | MacPorts ports tree: sysutils/chezmoi/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - chezmoi: normalized package name match | Chocolatey community package catalog: chezmoi from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','carbon'
- Scoop - main/chezmoi: normalized package name match | Scoop official bucket manifest trees: bucket/chezmoi.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - twpayne.chezmoi: normalized package name match | Windows Package Manager source index: twpayne.chezmoi from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [tuckr](https://www.automicvault.com/pkg/brew/tuckr/) - Shares av.db curated category or tags: cli, configuration-management, developer-tools, dotfiles.
- [dotdrop](https://www.automicvault.com/pkg/brew/dotdrop/) - Shares av.db curated category or tags: cli, configuration-management, developer-tools, dotfiles.
- [homeshick](https://www.automicvault.com/pkg/brew/homeshick/) - Shares av.db curated category or tags: cli, configuration-management, developer-tools, dotfiles.
- [lnk](https://www.automicvault.com/pkg/brew/lnk/) - Shares av.db curated category or tags: cli, configuration-management, developer-tools, dotfiles.
- [rcm](https://www.automicvault.com/pkg/brew/rcm/) - Shares av.db curated category or tags: cli, configuration-management, developer-tools, dotfiles.
- [turso](https://www.automicvault.com/pkg/brew/turso/) - Shares av.db curated category or tags: cli, configuration-management, developer-tools.
- [vcsh](https://www.automicvault.com/pkg/brew/vcsh/) - Shares av.db curated category or tags: cli, configuration-management, developer-tools, dotfiles.
- [yadm](https://www.automicvault.com/pkg/brew/yadm/) - Shares av.db curated category or tags: cli, configuration-management, developer-tools, dotfiles.

## Combined YAML source

View the package source record on GitHub. [combined/chezmoi.yml](https://github.com/automic-vault/db/blob/main/combined/chezmoi.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
