Downloads of v 2.18.0:


Last Update:

21 Jun 2022

Package Maintainer(s):

Software Author(s):

  • Tom Payne


dotfiles vcsh


This is not the latest version of chezmoi available.

  • 1
  • 2
  • 3

2.18.0 | Updated: 21 Jun 2022



Downloads of v 2.18.0:



Software Author(s):

  • Tom Payne


dotfiles vcsh

  • 1
  • 2
  • 3
chezmoi 2.18.0

This is not the latest version of chezmoi available.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed

Validation Testing Passed

Verification Testing Passed


Scan Testing Resulted in Flagged as a Note:

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

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

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 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'" --version="'2.18.0'" [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'" --version="'2.18.0'" 

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

Exit $exitCode

- name: Install chezmoi
    name: chezmoi
    version: '2.18.0'
    state: present

See docs at

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

See docs at

cChocoPackageInstaller chezmoi
    Name     = "chezmoi"
    Version  = "2.18.0"
    Source   = "INTERNAL REPO URL"

Requires cChoco DSC Resource. See docs at

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

Requires Puppet Chocolatey Provider module. See docs at

4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

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

This package was approved as a trusted package on 21 Jun 2022.


chezmoi helps you manage your personal configuration files (dotfiles, like ´´´~/.bashrc´´´) 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 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 of your choice or GnuPG encryption.

In all cases you only need to maintain a single source of truth: a single branch in a version control system (e.g. git) for everything public and a single password manager for all your secrets.

If you do not personalize your configuration or only ever use a single operating system with a single account and none of your dotfiles contain secrets then you don't need chezmoi.

$ErrorActionPreference = 'Stop';

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

$url = ''
$url64 = ''

$packageArgs = @{
    packageName    = $packageName
    unzipLocation  = $toolsDir
    fileType       = 'exe'
    url            = $url
    url64bit       = $url64
    checksum       = 'cabcb8b3e21e5676799d31fd0b62141d476da6e96477ecab8a84f42f63fdfe1e'
    checksumType   = 'sha256'
    checksum64     = 'c83f50fa14029e093b229f09bd1aad6ae1f05d3571cfb10b0bc9f97430b0e340'
    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.19.0 119 Monday, July 18, 2022 Approved
chezmoi 2.18.1 169 Friday, June 24, 2022 Approved
chezmoi 2.18.0 54 Tuesday, June 21, 2022 Approved
chezmoi 2.17.1 123 Monday, May 30, 2022 Approved
chezmoi 2.17.0 68 Thursday, May 26, 2022 Approved
chezmoi 2.16.0 70 Thursday, May 19, 2022 Approved
chezmoi 2.15.4 93 Tuesday, May 10, 2022 Approved
chezmoi 2.15.3 38 Monday, May 9, 2022 Approved
chezmoi 2.15.2 81 Sunday, May 1, 2022 Approved

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