Chocolatey Community Coffee Break

Join the Chocolatey Team on our regular monthly stream where we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

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

Announcing Chocolatey Central Management 0.10.0

Livestream from
Thursday, 06 October 2022

We recently released our largest update to Chocolatey Central Management so far. Join Gary and Steph to find out more about Chocolatey Central Management and the new features and fixes we've added to this release.

Watch On-Demand
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
Chocolatey Product Spotlight: Chocolatey 1.2.0 and Chocolatey Licensed Extension 5.0.0

Livestream from
Thursday, 03 November 2022

Join Paul and Gary for this months Chocolatey product livestream where we look at the latest release of Chocolatey 1.2.0, Chocolatey Licensed Extension 5.0.0 and shine a spotlight on the new hook scripts functionality. This opens up so many possibilities for Chocolatey CLI users!

Watch On-Demand
Chocolatey Coding Livestream

Livestream from
Tuesday, 29 November 2022

Join Josh as he adds the ability to manage Chocolatey GUI config and features with the Chocolatey Ansible Collection.

Watch On-Demand
Introduction into Chocolatey with Veeam

Webinar from
Tuesday, 13 December 2022

Join Gary, Paul, and Maurice as they introduce and demonstrate how to use Chocolatey! Questions will be answered live in an Ask Me Anything format.

Watch On-Demand

Downloads:

10,866

Downloads of v 2.2.0:

96

Last Update:

30 Aug 2021

Package Maintainer(s):

Software Author(s):

  • Tom Payne

Tags:

dotfiles vcsh

chezmoi

This is not the latest version of chezmoi available.

  • 1
  • 2
  • 3

2.2.0 | Updated: 30 Aug 2021

Downloads:

10,866

Downloads of v 2.2.0:

96

Maintainer(s):

Software Author(s):

  • Tom Payne

Tags:

dotfiles vcsh

chezmoi 2.2.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

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'" --version="'2.2.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.2.0'" 
$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.2.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.2.0'
end

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


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

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


package { 'chezmoi':
  ensure   => '2.2.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 30 Aug 2021.

Description

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.


tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';

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

$url = 'https://github.com/twpayne/chezmoi/releases/download/v2.2.0/chezmoi_2.2.0_windows_i386.zip'
$url64 = 'https://github.com/twpayne/chezmoi/releases/download/v2.2.0/chezmoi_2.2.0_windows_amd64.zip'

$packageArgs = @{
    packageName    = $packageName
    unzipLocation  = $toolsDir
    fileType       = 'exe'
    url            = $url
    url64bit       = $url64
    checksum       = 'dfa87ec5bc70c248536722e40c1e1378c7e693c0bf6cc0a8878dd69f0ef90885'
    checksumType   = 'sha256'
    checksum64     = '5940425cb8645698e22658355b9fa33aa0f1f9bd0d3571e10f3002a993c784cf'
    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.33.6 160 Tuesday, May 16, 2023 Approved
chezmoi 2.33.5 88 Friday, May 12, 2023 Approved
chezmoi 2.33.4 125 Tuesday, May 2, 2023 Approved
chezmoi 2.33.3 132 Saturday, April 22, 2023 Approved
chezmoi 2.33.2 20 Friday, April 21, 2023 Approved
chezmoi 2.33.1 149 Saturday, April 8, 2023 Approved
chezmoi 2.33.0 154 Friday, March 24, 2023 Approved
chezmoi 2.32.0 132 Sunday, March 12, 2023 Approved
chezmoi 2.31.1 119 Thursday, March 2, 2023 Approved
chezmoi 2.31.0 123 Friday, February 17, 2023 Approved
chezmoi 2.30.1 94 Sunday, February 12, 2023 Approved
chezmoi 2.30.0 97 Tuesday, February 7, 2023 Approved
chezmoi 2.29.4 128 Tuesday, January 24, 2023 Approved
chezmoi 2.29.3 76 Friday, January 20, 2023 Approved
chezmoi 2.29.2 70 Monday, January 16, 2023 Approved
chezmoi 2.29.1 144 Tuesday, January 3, 2023 Approved
chezmoi 2.29.0 36 Monday, January 2, 2023 Approved
chezmoi 2.28.0 107 Monday, December 19, 2022 Approved
chezmoi 2.27.3 135 Monday, December 5, 2022 Approved
chezmoi 2.27.2 112 Friday, November 25, 2022 Approved
chezmoi 2.27.1 115 Monday, November 14, 2022 Approved
chezmoi 2.27.0 86 Wednesday, November 9, 2022 Approved
chezmoi 2.26.0 109 Monday, October 31, 2022 Approved
chezmoi 2.25.0 149 Thursday, October 13, 2022 Approved
chezmoi 2.24.0 146 Monday, September 26, 2022 Approved
chezmoi 2.23.0 100 Monday, September 19, 2022 Approved
chezmoi 2.22.1 140 Monday, September 5, 2022 Approved
chezmoi 2.22.0 83 Thursday, September 1, 2022 Approved
chezmoi 2.21.1 57 Tuesday, August 30, 2022 Approved
chezmoi 2.21.0 101 Wednesday, August 24, 2022 Approved
chezmoi 2.20.0 212 Friday, July 29, 2022 Approved
chezmoi 2.19.0 129 Monday, July 18, 2022 Approved
chezmoi 2.18.1 190 Friday, June 24, 2022 Approved
chezmoi 2.18.0 64 Tuesday, June 21, 2022 Approved
chezmoi 2.17.1 135 Monday, May 30, 2022 Approved
chezmoi 2.17.0 77 Thursday, May 26, 2022 Approved
chezmoi 2.16.0 81 Thursday, May 19, 2022 Approved
chezmoi 2.15.4 107 Tuesday, May 10, 2022 Approved
chezmoi 2.15.3 53 Monday, May 9, 2022 Approved
chezmoi 2.15.2 94 Sunday, May 1, 2022 Approved
chezmoi 2.15.1.20220412 150 Tuesday, April 12, 2022 Approved
chezmoi 2.15.1 54 Monday, April 11, 2022 Approved
chezmoi 2.15.0 106 Monday, April 4, 2022 Approved
chezmoi 2.14.0 176 Thursday, March 10, 2022 Approved
chezmoi 2.13.1 85 Friday, March 4, 2022 Approved
chezmoi 2.13.0 101 Saturday, February 26, 2022 Approved
chezmoi 2.12.0 158 Tuesday, February 15, 2022 Approved
chezmoi 2.11.2 110 Thursday, February 3, 2022 Approved
chezmoi 2.11.1 51 Thursday, February 3, 2022 Approved
chezmoi 2.11.0 51 Wednesday, February 2, 2022 Approved
chezmoi 2.10.1 124 Monday, January 24, 2022 Approved
chezmoi 2.10.0 106 Monday, January 17, 2022 Approved
chezmoi 2.9.5 108 Thursday, January 6, 2022 Approved
chezmoi 2.9.4 118 Monday, December 20, 2021 Approved
chezmoi 2.9.3 112 Monday, December 13, 2021 Approved
chezmoi 2.9.2 124 Thursday, December 2, 2021 Approved
chezmoi 2.9.1 56 Tuesday, November 30, 2021 Approved
chezmoi 2.9.0 77 Monday, November 29, 2021 Approved
chezmoi 2.8.0 113 Sunday, November 21, 2021 Approved
chezmoi 2.7.5 120 Monday, November 8, 2021 Approved
chezmoi 2.7.4 80 Tuesday, November 2, 2021 Approved
chezmoi 2.7.3 100 Saturday, October 23, 2021 Approved
chezmoi 2.7.2 73 Wednesday, October 20, 2021 Approved
chezmoi 2.7.1 74 Monday, October 18, 2021 Approved
chezmoi 2.7.0 80 Wednesday, October 13, 2021 Approved
chezmoi 2.6.1 96 Monday, October 4, 2021 Approved
chezmoi 2.6.0 43 Sunday, October 3, 2021 Approved
chezmoi 2.5.1 74 Thursday, September 30, 2021 Approved
chezmoi 2.5.0 81 Friday, September 24, 2021 Approved
chezmoi 2.4.0 99 Saturday, September 11, 2021 Approved
chezmoi 2.3.1 75 Thursday, September 9, 2021 Approved
chezmoi 2.3.0 67 Sunday, September 5, 2021 Approved
chezmoi 2.2.0 96 Monday, August 30, 2021 Approved
chezmoi 2.1.6 79 Monday, August 23, 2021 Approved
chezmoi 2.1.5 95 Thursday, August 12, 2021 Approved
chezmoi 2.1.4 82 Thursday, August 5, 2021 Approved
chezmoi 2.1.3 73 Sunday, August 1, 2021 Approved
chezmoi 2.1.2 99 Thursday, July 15, 2021 Approved
chezmoi 2.1.1 73 Sunday, July 11, 2021 Approved
chezmoi 2.1.0 114 Saturday, July 3, 2021 Approved
chezmoi 2.0.16 81 Monday, June 28, 2021 Approved
chezmoi 2.0.15 90 Friday, June 18, 2021 Approved
chezmoi 2.0.13 120 Friday, May 28, 2021 Approved
chezmoi 2.0.12 128 Tuesday, May 11, 2021 Approved
chezmoi 2.0.11 98 Tuesday, April 27, 2021 Approved
chezmoi 2.0.10 99 Thursday, April 15, 2021 Approved
chezmoi 2.0.9 119 Monday, April 5, 2021 Approved
chezmoi 2.0.8 59 Sunday, April 4, 2021 Approved
chezmoi 2.0.7 57 Wednesday, March 31, 2021 Approved
chezmoi 2.0.6 62 Wednesday, March 31, 2021 Approved
chezmoi 2.0.5 61 Tuesday, March 30, 2021 Approved
chezmoi 2.0.3 108 Monday, March 22, 2021 Approved
chezmoi 2.0.2 95 Friday, March 19, 2021 Approved
chezmoi 2.0.1 65 Thursday, March 18, 2021 Approved
chezmoi 2.0.0 64 Wednesday, March 17, 2021 Approved
chezmoi 1.8.11 161 Friday, February 5, 2021 Approved
chezmoi 1.8.10 143 Sunday, December 20, 2020 Approved
chezmoi 1.8.9 113 Friday, November 20, 2020 Approved
chezmoi 1.8.7 159 Saturday, October 10, 2020 Approved
chezmoi 1.8.6 122 Monday, September 28, 2020 Approved
chezmoi 1.8.5 116 Sunday, August 23, 2020 Approved
chezmoi 1.8.4 83 Wednesday, August 12, 2020 Approved
chezmoi 1.8.3 137 Friday, June 26, 2020 Approved
chezmoi 1.8.2 123 Tuesday, June 9, 2020 Approved
chezmoi 1.8.1 127 Friday, May 22, 2020 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