Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

30,934

Downloads of v 2.65.0:

51

Last Update:

26 Aug 2025

Package Maintainer(s):

Software Author(s):

  • Tom Payne

Tags:

chezmoi

  • 1
  • 2
  • 3

2.65.0 | Updated: 26 Aug 2025

Downloads:

30,934

Downloads of v 2.65.0:

51

Software Author(s):

  • Tom Payne

chezmoi 2.65.0

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Tom Payne. The inclusion of Tom Payne trademark(s), if any, upon this webpage is solely to identify Tom Payne goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged as a Note:

At least one file within this package has greater than 0 detections, but less than 5

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install chezmoi, run the following command from the command line or from PowerShell:

>

To upgrade chezmoi, run the following command from the command line or from PowerShell:

>

To uninstall chezmoi, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade chezmoi -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade chezmoi -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install chezmoi
  win_chocolatey:
    name: chezmoi
    version: '2.65.0'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'chezmoi' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '2.65.0'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller chezmoi
{
    Name     = "chezmoi"
    Version  = "2.65.0"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'chezmoi':
  ensure   => '2.65.0',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

NOTE

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

Package Approved

This package was approved as a trusted package on 26 Aug 2025.

Description

What does chezmoi do?

chezmoi helps you manage your personal configuration files (dotfiles, like ~/.gitconfig) across multiple machines.

chezmoi is helpful if you have spent time customizing the tools you use (e.g. shells, editors, and version control systems) and want to keep machines running different accounts (e.g. home and work) and/or different operating systems (e.g. Linux, macOS, and Windows) in sync, while still being able to easily cope with differences from machine to machine.

chezmoi scales from the trivial (e.g. copying a few dotfiles onto a Raspberry Pi, development container, or virtual machine) to complex long-lived multi-machine development environments (e.g. keeping any number of home and work, Linux, macOS, and Windows machines in sync). In all cases you only need to maintain a single source of truth (a single branch in git) and getting started only requires adding a single binary to your machine (which you can do with curl, wget, or scp).

chezmoi has strong support for security, allowing you to manage secrets (e.g. passwords, access tokens, and private keys) securely and seamlessly using a password manager and/or encrypt whole files with your favorite encryption tool.


tools\chocolateyinstall.ps1
# This file was generated by GoReleaser. DO NOT EDIT.
$ErrorActionPreference = 'Stop';

$version = $env:chocolateyPackageVersion
$packageName = $env:chocolateyPackageName
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$packageArgs = @{
    packageName    = $packageName
    unzipLocation  = $toolsDir
    url            = 'https://github.com/twpayne/chezmoi/releases/download/v2.65.0/chezmoi_2.65.0_windows_i386.zip'
    checksum       = '6b304c24b63015778a8635c3449941afe72a490a8f1a17b8b5dff5c8c1ae6fa4'
    checksumType   = 'sha256'
    url64bit       = 'https://github.com/twpayne/chezmoi/releases/download/v2.65.0/chezmoi_2.65.0_windows_amd64.zip'
    checksum64     = 'e04234ea81929e21279fde1a33e0583159fc4016f117f6ab8dea019dc222055a'
    checksumType64 = 'sha256'
}

Install-ChocolateyZipPackage @packageArgs

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
chezmoi 2.64.0 728 Wednesday, August 6, 2025 Approved
chezmoi 2.63.1 295 Tuesday, July 22, 2025 Approved
chezmoi 2.63.0 210 Wednesday, July 9, 2025 Approved
chezmoi 2.62.7 198 Sunday, June 22, 2025 Approved
chezmoi 2.62.6 177 Friday, June 6, 2025 Approved
chezmoi 2.62.5 177 Friday, May 23, 2025 Approved
chezmoi 2.62.4 167 Sunday, May 11, 2025 Approved
chezmoi 2.62.3 101 Tuesday, May 6, 2025 Approved
chezmoi 2.62.2 232 Friday, April 18, 2025 Approved
chezmoi 2.62.1 93 Sunday, April 13, 2025 Approved
chezmoi 2.62.0 128 Sunday, April 6, 2025 Approved
chezmoi 2.61.0 182 Saturday, March 22, 2025 Approved
chezmoi 2.60.1 195 Friday, March 7, 2025 Approved
chezmoi 2.60.0 172 Monday, February 24, 2025 Approved
chezmoi 2.59.1 181 Friday, February 7, 2025 Approved
chezmoi 2.59.0 158 Tuesday, January 28, 2025 Approved
chezmoi 2.58.0 179 Monday, January 13, 2025 Approved
chezmoi 2.57.0 200 Monday, December 30, 2024 Approved
chezmoi 2.56.0 155 Saturday, December 14, 2024 Approved
chezmoi 2.55.0 188 Monday, December 2, 2024 Approved
chezmoi 2.54.0 195 Saturday, November 9, 2024 Approved
chezmoi 2.53.1 159 Monday, October 28, 2024 Approved
chezmoi 2.53.0 50 Saturday, October 26, 2024 Approved
chezmoi 2.52.3 251 Monday, September 30, 2024 Approved
chezmoi 2.52.2 219 Tuesday, September 10, 2024 Approved
chezmoi 2.52.1 229 Thursday, August 15, 2024 Approved
chezmoi 2.52.0 155 Wednesday, August 7, 2024 Approved
chezmoi 2.51.0 189 Monday, July 15, 2024 Approved
chezmoi 2.50.0 191 Tuesday, July 2, 2024 Approved
chezmoi 2.49.1 143 Sunday, June 23, 2024 Approved
chezmoi 2.49.0 164 Monday, June 10, 2024 Approved
chezmoi 2.48.2 150 Friday, May 31, 2024 Approved
chezmoi 2.48.1 228 Sunday, May 12, 2024 Approved
chezmoi 2.48.0 183 Friday, April 26, 2024 Approved
chezmoi 2.47.4 206 Friday, April 12, 2024 Approved
chezmoi 2.47.3 179 Sunday, March 31, 2024 Approved
chezmoi 2.47.2 190 Sunday, March 17, 2024 Approved
chezmoi 2.47.1 187 Sunday, March 3, 2024 Approved
chezmoi 2.47.0 118 Sunday, February 25, 2024 Approved
chezmoi 2.46.1 230 Sunday, February 11, 2024 Approved
chezmoi 2.46.0 218 Thursday, January 25, 2024 Approved
chezmoi 2.45.0 173 Saturday, January 13, 2024 Approved
chezmoi 2.44.0 108 Wednesday, January 10, 2024 Approved
chezmoi 2.43.0 147 Tuesday, January 2, 2024 Approved
chezmoi 2.42.3 176 Saturday, December 16, 2023 Approved
chezmoi 2.42.2 175 Saturday, December 2, 2023 Approved
chezmoi 2.42.1 107 Wednesday, November 29, 2023 Approved
chezmoi 2.42.0 118 Sunday, November 26, 2023 Approved
chezmoi 2.41.0 195 Tuesday, November 14, 2023 Approved
chezmoi 2.40.4 236 Sunday, October 29, 2023 Approved
chezmoi 2.40.3 197 Thursday, October 12, 2023 Approved
chezmoi 2.40.2 129 Monday, October 9, 2023 Approved
chezmoi 2.40.0 229 Tuesday, September 19, 2023 Approved
chezmoi 2.39.1 204 Wednesday, September 6, 2023 Approved
chezmoi 2.39.0 140 Monday, September 4, 2023 Approved
chezmoi 2.38.0 206 Tuesday, August 22, 2023 Approved
chezmoi 2.37.0 192 Monday, August 7, 2023 Approved
chezmoi 2.36.1 148 Sunday, July 30, 2023 Approved
chezmoi 2.36.0 94 Saturday, July 29, 2023 Approved
chezmoi 2.35.2 158 Wednesday, July 19, 2023 Approved
chezmoi 2.35.1 86 Wednesday, July 19, 2023 Approved
chezmoi 2.35.0 114 Monday, July 17, 2023 Approved
chezmoi 2.34.3 195 Tuesday, July 4, 2023 Approved
chezmoi 2.34.2 207 Saturday, June 17, 2023 Approved
chezmoi 2.34.1 151 Sunday, June 11, 2023 Approved
chezmoi 2.34.0 160 Monday, June 5, 2023 Approved
chezmoi 2.33.6 238 Tuesday, May 16, 2023 Approved
chezmoi 2.33.5 166 Friday, May 12, 2023 Approved
chezmoi 2.33.4 201 Tuesday, May 2, 2023 Approved
chezmoi 2.33.3 211 Saturday, April 22, 2023 Approved
chezmoi 2.33.2 87 Friday, April 21, 2023 Approved
chezmoi 2.33.1 212 Saturday, April 8, 2023 Approved
chezmoi 2.33.0 227 Friday, March 24, 2023 Approved
chezmoi 2.32.0 219 Sunday, March 12, 2023 Approved
chezmoi 2.31.1 187 Thursday, March 2, 2023 Approved
chezmoi 2.31.0 207 Friday, February 17, 2023 Approved
chezmoi 2.30.1 166 Sunday, February 12, 2023 Approved
chezmoi 2.30.0 173 Tuesday, February 7, 2023 Approved
chezmoi 2.29.4 203 Tuesday, January 24, 2023 Approved
chezmoi 2.29.3 141 Friday, January 20, 2023 Approved
chezmoi 2.29.2 138 Monday, January 16, 2023 Approved
chezmoi 2.29.1 235 Tuesday, January 3, 2023 Approved
chezmoi 2.29.0 96 Monday, January 2, 2023 Approved
chezmoi 2.28.0 173 Monday, December 19, 2022 Approved
chezmoi 2.27.3 195 Monday, December 5, 2022 Approved
chezmoi 2.27.2 193 Friday, November 25, 2022 Approved
chezmoi 2.27.1 178 Monday, November 14, 2022 Approved
chezmoi 2.27.0 159 Wednesday, November 9, 2022 Approved
chezmoi 2.26.0 191 Monday, October 31, 2022 Approved
chezmoi 2.25.0 209 Thursday, October 13, 2022 Approved
chezmoi 2.24.0 230 Monday, September 26, 2022 Approved
chezmoi 2.23.0 175 Monday, September 19, 2022 Approved
chezmoi 2.22.1 223 Monday, September 5, 2022 Approved
chezmoi 2.22.0 152 Thursday, September 1, 2022 Approved
chezmoi 2.21.1 124 Tuesday, August 30, 2022 Approved
chezmoi 2.21.0 175 Wednesday, August 24, 2022 Approved
chezmoi 2.20.0 292 Friday, July 29, 2022 Approved
chezmoi 2.19.0 213 Monday, July 18, 2022 Approved
chezmoi 2.18.1 259 Friday, June 24, 2022 Approved
chezmoi 2.18.0 130 Tuesday, June 21, 2022 Approved
chezmoi 2.17.1 210 Monday, May 30, 2022 Approved
chezmoi 2.17.0 149 Thursday, May 26, 2022 Approved
chezmoi 2.16.0 145 Thursday, May 19, 2022 Approved
chezmoi 2.15.4 184 Tuesday, May 10, 2022 Approved
chezmoi 2.15.3 140 Monday, May 9, 2022 Approved
chezmoi 2.15.2 168 Sunday, May 1, 2022 Approved
chezmoi 2.15.1.20220412 240 Tuesday, April 12, 2022 Approved
chezmoi 2.15.1 136 Monday, April 11, 2022 Approved
chezmoi 2.15.0 182 Monday, April 4, 2022 Approved
chezmoi 2.14.0 261 Thursday, March 10, 2022 Approved
chezmoi 2.13.1 156 Friday, March 4, 2022 Approved
chezmoi 2.13.0 175 Saturday, February 26, 2022 Approved
chezmoi 2.12.0 230 Tuesday, February 15, 2022 Approved
chezmoi 2.11.2 198 Thursday, February 3, 2022 Approved
chezmoi 2.11.1 127 Thursday, February 3, 2022 Approved
chezmoi 2.11.0 122 Wednesday, February 2, 2022 Approved
chezmoi 2.10.1 192 Monday, January 24, 2022 Approved
chezmoi 2.10.0 178 Monday, January 17, 2022 Approved
chezmoi 2.9.5 197 Thursday, January 6, 2022 Approved
chezmoi 2.9.4 181 Monday, December 20, 2021 Approved
chezmoi 2.9.3 170 Monday, December 13, 2021 Approved
chezmoi 2.9.2 214 Thursday, December 2, 2021 Approved
chezmoi 2.9.1 132 Tuesday, November 30, 2021 Approved
chezmoi 2.9.0 157 Monday, November 29, 2021 Approved
chezmoi 2.8.0 176 Sunday, November 21, 2021 Approved
chezmoi 2.7.5 220 Monday, November 8, 2021 Approved
chezmoi 2.7.4 155 Tuesday, November 2, 2021 Approved
chezmoi 2.7.3 179 Saturday, October 23, 2021 Approved
chezmoi 2.7.2 151 Wednesday, October 20, 2021 Approved
chezmoi 2.7.1 148 Monday, October 18, 2021 Approved
chezmoi 2.7.0 157 Wednesday, October 13, 2021 Approved
chezmoi 2.6.1 176 Monday, October 4, 2021 Approved
chezmoi 2.6.0 109 Sunday, October 3, 2021 Approved
chezmoi 2.5.1 145 Thursday, September 30, 2021 Approved
chezmoi 2.5.0 156 Friday, September 24, 2021 Approved
chezmoi 2.4.0 197 Saturday, September 11, 2021 Approved
chezmoi 2.3.1 152 Thursday, September 9, 2021 Approved
chezmoi 2.3.0 140 Sunday, September 5, 2021 Approved
chezmoi 2.2.0 190 Monday, August 30, 2021 Approved
chezmoi 2.1.6 134 Monday, August 23, 2021 Approved
chezmoi 2.1.5 187 Thursday, August 12, 2021 Approved
chezmoi 2.1.4 151 Thursday, August 5, 2021 Approved
chezmoi 2.1.3 157 Sunday, August 1, 2021 Approved
chezmoi 2.1.2 177 Thursday, July 15, 2021 Approved
chezmoi 2.1.1 151 Sunday, July 11, 2021 Approved
chezmoi 2.1.0 198 Saturday, July 3, 2021 Approved
chezmoi 2.0.16 161 Monday, June 28, 2021 Approved
chezmoi 2.0.15 169 Friday, June 18, 2021 Approved
chezmoi 2.0.13 188 Friday, May 28, 2021 Approved
chezmoi 2.0.12 204 Tuesday, May 11, 2021 Approved
chezmoi 2.0.11 167 Tuesday, April 27, 2021 Approved
chezmoi 2.0.10 176 Thursday, April 15, 2021 Approved
chezmoi 2.0.9 194 Monday, April 5, 2021 Approved
chezmoi 2.0.8 131 Sunday, April 4, 2021 Approved
chezmoi 2.0.7 127 Wednesday, March 31, 2021 Approved
chezmoi 2.0.6 146 Wednesday, March 31, 2021 Approved
chezmoi 2.0.5 138 Tuesday, March 30, 2021 Approved
chezmoi 2.0.3 196 Monday, March 22, 2021 Approved
chezmoi 2.0.2 168 Friday, March 19, 2021 Approved
chezmoi 2.0.1 132 Thursday, March 18, 2021 Approved
chezmoi 2.0.0 127 Wednesday, March 17, 2021 Approved
chezmoi 1.8.11 234 Friday, February 5, 2021 Approved
chezmoi 1.8.10 226 Sunday, December 20, 2020 Approved
chezmoi 1.8.9 197 Friday, November 20, 2020 Approved
chezmoi 1.8.7 242 Saturday, October 10, 2020 Approved
chezmoi 1.8.6 193 Monday, September 28, 2020 Approved
chezmoi 1.8.5 197 Sunday, August 23, 2020 Approved
chezmoi 1.8.4 187 Wednesday, August 12, 2020 Approved
chezmoi 1.8.3 242 Friday, June 26, 2020 Approved
chezmoi 1.8.2 202 Tuesday, June 9, 2020 Approved
chezmoi 1.8.1 213 Friday, May 22, 2020 Approved

Changelog

Features

  • 39e5ad1b8bb7c35a8a23aa1bdda5343224e77329 feat: Add docker command
  • ed333e4b942831c146852bf962b5f96b0c19e816 feat: Add ssh command
  • 89c983293d90bc8e0fbe6c7eccf4dda1a2bcc837 feat: Add podman command
  • a3ea777bc70ce09461fa225ff785a24fded576a8 feat: Add install-init-shell.sh subcommand to generate command
  • 1f53a3c3b8345e48b64000e888b70b2c67fa61d5 feat: Extend the range of types accepted by quoteList template func
  • 218d4123d23580052fc6f108b6e7025ab726d151 feat: Add support for rar archives
  • 07301f622b9b7e44d3bdc6ab25d05a789c31a8c2 feat: Add age-keygen command
  • 3b672f5bad0b90bed68d7d7f23a25759fa1ce88f feat: Apply --age-recipient and --age-recipient-file flags to all commands

Documentation updates

  • 7addc9036b77fb300dd0dfca59413ae93d656e51 docs: Add link to article
  • effce0e3bf17df270ba9a4d725797e6f96fe99fa docs: Clarify scripts have to succeed to count as being run
  • 6c4c04d6a51e85bb0955969f7192a8106d6713c2 docs: Use age-keygen command in docs
  • 3845ad515b29984ecc53cbc4a85e0490ed0bad8d docs: Add links to articles

This package has no dependencies.

Discussion for the chezmoi Package

Ground Rules:

  • This discussion is only about chezmoi and the chezmoi package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or chezmoi, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus