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:

32,602

Downloads of v 2.47.1:

65

Last Update:

20 Jul 2023

Package Maintainer(s):

Software Author(s):

  • Penguin Labs
  • LLC

Tags:

cacher code snippets

Cacher

  • 1
  • 2
  • 3

2.47.1 | Updated: 20 Jul 2023

Downloads:

32,602

Downloads of v 2.47.1:

65

Maintainer(s):

Software Author(s):

  • Penguin Labs
  • LLC

Cacher 2.47.1

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

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

>

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

>

To uninstall Cacher, 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 cacher -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 cacher -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 cacher
  win_chocolatey:
    name: cacher
    version: '2.47.1'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'cacher' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '2.47.1'
end

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


cChocoPackageInstaller cacher
{
    Name     = "cacher"
    Version  = "2.47.1"
    Source   = "INTERNAL REPO URL"
}

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


package { 'cacher':
  ensure   => '2.47.1',
  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 20 Jul 2023.

Description

Cacher is like long term memory for software professionals. Use it to curate a library of useful code snippets for you and your team.

Features

  • Cross-platform sharing
  • Color-coded labels
  • Create and manage teams
  • Docs with Markdown
  • Snippets in your language
  • Organization accounts

Notes

  • The software for this package only installs as the current user.

tools\chocolateyUninstall.ps1
$ErrorActionPreference = 'Stop'

$packageArgs = @{
  packageName    = $env:ChocolateyPackageName
  softwareName   = 'Cacher*'
  fileType       = 'exe'
  silentArgs     = '/S'
  validExitCodes = @(@(0))
}

$uninstalled = $false

[array]$key = Get-UninstallRegistryKey @packageArgs

if ($key.Count -eq 1) {
  $key | ForEach-Object {
    [string]$uninstallString = $_.UninstallString
    $index = $uninstallString.LastIndexOf(' ')
    $packageArgs['file'] = $uninstallString.Remove($index).Trim('"')

    Uninstall-ChocolateyPackage @packageArgs
  }
}
elseif ($key.Count -eq 0) {
  Write-Warning "$packageName has already been uninstalled by other means."
}
elseif ($key.Count -gt 1) {
  Write-Warning "$($key.Count) matches found!"
  Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
  Write-Warning "Please alert the package maintainer that the following keys were matched:"
  $key | ForEach-Object { Write-Warning "- $($_.DisplayName)" }
}
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop'

$packageArgs = @{
  packageName    = $env:ChocolateyPackageName
  fileType       = 'exe'
  url            = 'https://s3.amazonaws.com/download.cacher.io/Cacher%20Setup%202.47.1.exe'
  softwareName   = 'Cacher*'
  checksum       = '9553cc40516d7ca3ce188762eca09d6bc113a7372393fd5d4c6b13f0690c17aad9b40048b4faa304d4b3489bdd14fa128bc79d78e6a84e663f9f8838c42cf8b8'
  checksumType   = 'sha512'
  silentArgs     = '/S'
  validExitCodes = @(0)
}

Install-ChocolateyPackage @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
Cacher 2.47.0 40 Tuesday, June 20, 2023 Approved
Cacher 2.46.0 121 Saturday, January 7, 2023 Approved
Cacher 2.45.3 56 Thursday, October 27, 2022 Approved
Cacher 2.45.0 58 Saturday, September 10, 2022 Approved
Cacher 2.44.3 68 Friday, July 1, 2022 Approved
Cacher 2.44.2 76 Thursday, March 31, 2022 Approved
Cacher 2.44.1 43 Sunday, March 27, 2022 Approved
Cacher 2.43.2 74 Friday, February 25, 2022 Approved
Cacher 2.43.1 58 Tuesday, February 15, 2022 Approved
Cacher 2.43.0 70 Wednesday, January 19, 2022 Approved
Cacher 2.42.7 100 Sunday, October 24, 2021 Approved
Cacher 2.42.4.20210904 97 Saturday, September 4, 2021 Approved
Cacher 2.42.2 100 Friday, August 20, 2021 Approved
Cacher 2.42.1 119 Wednesday, June 16, 2021 Approved
Cacher 2.41.2 102 Tuesday, May 11, 2021 Approved
Cacher 2.41.1 83 Monday, April 26, 2021 Approved
Cacher 2.39.0 140 Wednesday, January 6, 2021 Approved
Cacher 2.38.3 102 Friday, December 18, 2020 Approved
Cacher 2.38.2 95 Tuesday, December 15, 2020 Approved
Cacher 2.38.1 82 Monday, December 14, 2020 Approved
Cacher 2.36.0 99 Wednesday, December 9, 2020 Approved
Cacher 2.35.1 79 Tuesday, December 8, 2020 Approved
Cacher 2.34.0 104 Monday, November 30, 2020 Approved
Cacher 2.33.2 131 Monday, October 26, 2020 Approved
Cacher 2.33.1 99 Wednesday, October 21, 2020 Approved
Cacher 2.33.0 118 Wednesday, October 14, 2020 Approved
Cacher 2.32.6 149 Tuesday, September 1, 2020 Approved
Cacher 2.32.5 127 Sunday, August 30, 2020 Approved
Cacher 2.32.4 114 Wednesday, August 26, 2020 Approved
Cacher 2.32.3 149 Wednesday, August 12, 2020 Approved
Cacher 2.32.0 128 Wednesday, July 22, 2020 Approved
Cacher 2.31.2 131 Tuesday, July 21, 2020 Approved
Cacher 2.31.1 99 Wednesday, July 15, 2020 Approved
Cacher 2.31.0 125 Monday, July 6, 2020 Approved
Cacher 2.30.4 124 Thursday, June 25, 2020 Approved
Cacher 2.30.3 127 Tuesday, June 23, 2020 Approved
Cacher 2.30.2 101 Sunday, June 21, 2020 Approved
Cacher 2.30.0 115 Thursday, June 18, 2020 Approved
Cacher 2.29.0 122 Friday, June 5, 2020 Approved
Cacher 2.28.1 133 Tuesday, May 26, 2020 Approved
Cacher 2.28.0 147 Wednesday, May 20, 2020 Approved
Cacher 2.27.3 129 Friday, May 15, 2020 Approved
Cacher 2.27.2 148 Monday, May 11, 2020 Approved
Cacher 2.27.1 134 Sunday, May 10, 2020 Approved
Cacher 2.26.0 157 Saturday, May 2, 2020 Approved
Cacher 2.25.7 135 Monday, April 27, 2020 Approved
Cacher 2.25.5 128 Friday, April 24, 2020 Approved
Cacher 2.25.2 156 Thursday, April 16, 2020 Approved
Cacher 2.25.0 155 Sunday, April 12, 2020 Approved
Cacher 2.24.0 145 Thursday, April 9, 2020 Approved
Cacher 2.23.1 109 Friday, April 3, 2020 Approved
Cacher 2.23.0 178 Tuesday, March 10, 2020 Approved
Cacher 2.22.4 205 Tuesday, January 14, 2020 Approved
Cacher 2.22.1 168 Saturday, November 23, 2019 Approved
Cacher 2.21.4 152 Friday, October 18, 2019 Approved
Cacher 2.21.3 154 Tuesday, October 15, 2019 Approved
Cacher 2.21.2 151 Sunday, October 13, 2019 Approved
Cacher 2.21.1 153 Friday, October 11, 2019 Approved
Cacher 2.21.0 170 Wednesday, October 9, 2019 Approved
Cacher 2.20.2 139 Tuesday, October 8, 2019 Approved
Cacher 2.20.1 145 Friday, October 4, 2019 Approved
Cacher 2.20.0 157 Thursday, October 3, 2019 Approved
Cacher 2.19.4 157 Monday, September 23, 2019 Approved
Cacher 2.19.2 138 Sunday, September 22, 2019 Approved
Cacher 2.19.1 137 Sunday, September 22, 2019 Approved
Cacher 2.19.0 121 Saturday, September 21, 2019 Approved
Cacher 2.18.2 144 Thursday, September 19, 2019 Approved
Cacher 2.18.1 247 Friday, September 6, 2019 Approved
Cacher 2.18.0 173 Thursday, September 5, 2019 Approved
Cacher 2.17.3 142 Tuesday, September 3, 2019 Approved
Cacher 2.17.2 168 Monday, September 2, 2019 Approved
Cacher 2.17.0 183 Sunday, September 1, 2019 Approved
Cacher 2.16.3 221 Thursday, August 29, 2019 Approved
Cacher 2.16.2 174 Wednesday, August 28, 2019 Approved
Cacher 2.16.1 178 Wednesday, August 21, 2019 Approved
Cacher 2.16.0 198 Tuesday, August 20, 2019 Approved
Cacher 2.15.2 194 Tuesday, August 13, 2019 Approved
Cacher 2.15.1 168 Friday, August 9, 2019 Approved
Cacher 2.14.7 142 Friday, August 9, 2019 Approved
Cacher 2.14.6 197 Wednesday, August 7, 2019 Approved
Cacher 2.14.5 163 Tuesday, August 6, 2019 Approved
Cacher 2.14.3 177 Saturday, August 3, 2019 Approved
Cacher 2.14.1 150 Thursday, August 1, 2019 Approved
Cacher 2.13.5 152 Wednesday, July 31, 2019 Approved
Cacher 2.13.4 180 Wednesday, July 31, 2019 Approved
Cacher 2.13.3 174 Monday, July 29, 2019 Approved
Cacher 2.13.2 156 Monday, July 29, 2019 Approved
Cacher 2.13.1 184 Sunday, July 28, 2019 Approved
Cacher 2.13.0 158 Saturday, July 27, 2019 Approved
Cacher 2.12.4 124 Tuesday, July 23, 2019 Approved
Cacher 2.12.3 160 Monday, July 15, 2019 Approved
Cacher 2.12.2 162 Friday, July 12, 2019 Approved
Cacher 2.12.0 173 Thursday, July 11, 2019 Approved
Cacher 2.11.4 200 Monday, June 17, 2019 Approved
Cacher 2.11.2 155 Friday, June 14, 2019 Approved
Cacher 2.11.1 173 Thursday, June 13, 2019 Approved
Cacher 2.11.0 128 Wednesday, June 12, 2019 Approved
Cacher 2.10.5 182 Monday, June 10, 2019 Approved
Cacher 2.10.4 159 Wednesday, May 29, 2019 Approved
Cacher 2.10.2 190 Wednesday, May 22, 2019 Approved
Cacher 2.9.0 200 Friday, May 10, 2019 Approved
Cacher 2.8.3 213 Friday, May 3, 2019 Approved
Cacher 2.8.2 198 Thursday, May 2, 2019 Approved
Cacher 2.8.1 186 Wednesday, April 17, 2019 Approved
Cacher 2.8.0 220 Saturday, April 13, 2019 Approved
Cacher 2.7.2 193 Tuesday, April 9, 2019 Approved
Cacher 2.7.1 167 Monday, April 8, 2019 Approved
Cacher 2.7.0 190 Friday, March 29, 2019 Approved
Cacher 2.6.9 180 Wednesday, March 27, 2019 Approved
Cacher 2.6.8 154 Sunday, March 24, 2019 Approved
Cacher 2.6.6 166 Friday, March 22, 2019 Approved
Cacher 2.6.5 160 Thursday, March 14, 2019 Approved
Cacher 2.6.4 162 Wednesday, March 13, 2019 Approved
Cacher 2.6.3 141 Monday, March 11, 2019 Approved
Cacher 2.6.2 166 Friday, March 8, 2019 Approved
Cacher 2.6.1 179 Wednesday, March 6, 2019 Approved
Cacher 2.6.0 171 Monday, March 4, 2019 Approved
Cacher 2.5.14 210 Tuesday, February 12, 2019 Approved
Cacher 2.5.12 179 Tuesday, February 12, 2019 Approved
Cacher 2.5.10 171 Saturday, February 9, 2019 Approved
Cacher 2.5.8 153 Friday, February 8, 2019 Approved
Cacher 2.5.7 205 Thursday, January 31, 2019 Approved
Cacher 2.5.6 181 Wednesday, January 30, 2019 Approved
Cacher 2.5.5 185 Saturday, January 26, 2019 Approved
Cacher 2.5.4 177 Friday, January 25, 2019 Approved
Cacher 2.5.3 218 Thursday, January 24, 2019 Approved
Cacher 2.5.1 191 Thursday, January 24, 2019 Approved
Cacher 2.4.4 181 Monday, January 21, 2019 Approved
Cacher 2.4.3 173 Saturday, January 19, 2019 Approved
Cacher 2.4.2 172 Friday, January 18, 2019 Approved
Cacher 2.4.1 170 Thursday, January 17, 2019 Approved
Cacher 2.3.6 145 Thursday, January 10, 2019 Approved
Cacher 2.3.5 178 Wednesday, January 9, 2019 Approved
Cacher 2.3.4 166 Tuesday, January 8, 2019 Approved
Cacher 2.3.3 162 Sunday, January 6, 2019 Approved
Cacher 2.3.2 149 Saturday, January 5, 2019 Approved
Cacher 2.3.1 166 Saturday, December 29, 2018 Approved
Cacher 2.3.0 187 Wednesday, December 19, 2018 Approved
Cacher 2.2.0 226 Tuesday, December 4, 2018 Approved
Cacher 2.1.0 178 Monday, November 19, 2018 Approved
Cacher 2.0.11 197 Thursday, November 15, 2018 Approved
Cacher 2.0.10 191 Saturday, January 5, 2019 Approved
Cacher 2.0.9 167 Thursday, November 8, 2018 Approved
Cacher 2.0.7 185 Thursday, November 8, 2018 Approved
Cacher 2.0.6 175 Wednesday, November 7, 2018 Approved
Cacher 2.0.4 150 Monday, October 29, 2018 Approved
Cacher 2.0.3 165 Sunday, October 28, 2018 Approved
Cacher 2.0.2 176 Sunday, October 28, 2018 Approved
Cacher 2.0.1 208 Saturday, October 27, 2018 Approved
Cacher 2.0.0 168 Saturday, October 27, 2018 Approved
Cacher 1.6.13 202 Wednesday, October 24, 2018 Approved
Cacher 1.6.11 190 Friday, October 12, 2018 Approved
Cacher 1.6.10 160 Wednesday, October 10, 2018 Approved
Cacher 1.6.9 185 Saturday, October 6, 2018 Approved
Cacher 1.6.8 184 Thursday, October 4, 2018 Approved
Cacher 1.6.7 171 Wednesday, October 3, 2018 Approved
Cacher 1.6.6 172 Tuesday, October 2, 2018 Approved
Cacher 1.6.4 193 Thursday, September 27, 2018 Approved
Cacher 1.6.1 159 Tuesday, September 25, 2018 Approved
Cacher 1.5.15 172 Friday, August 24, 2018 Approved
Cacher 1.5.14 203 Tuesday, August 21, 2018 Approved
Cacher 1.5.13 188 Tuesday, August 7, 2018 Approved
Cacher 1.5.12 207 Friday, July 27, 2018 Approved
Cacher 1.5.11 212 Tuesday, July 3, 2018 Approved
Cacher 1.5.10 186 Tuesday, June 26, 2018 Approved
Cacher 1.5.9 221 Monday, June 25, 2018 Approved
Cacher 1.5.8 194 Saturday, June 23, 2018 Approved
Cacher 1.5.7 205 Saturday, June 23, 2018 Approved
Cacher 1.5.6 190 Thursday, June 21, 2018 Approved
Cacher 1.5.5 225 Tuesday, June 12, 2018 Approved
Cacher 1.5.4 263 Thursday, June 7, 2018 Approved
Cacher 1.5.3 249 Tuesday, May 15, 2018 Approved
Cacher 1.5.1 218 Saturday, May 12, 2018 Approved
Cacher 1.5.0 208 Thursday, May 10, 2018 Approved
Cacher 1.4.5 222 Wednesday, May 2, 2018 Approved
Cacher 1.4.4 237 Friday, April 20, 2018 Approved
Cacher 1.4.3 232 Wednesday, April 18, 2018 Approved
Cacher 1.4.2 243 Tuesday, April 17, 2018 Approved
Cacher 1.4.1 243 Tuesday, April 17, 2018 Approved
Cacher 1.3.14 246 Tuesday, April 10, 2018 Approved
Cacher 1.3.13 251 Thursday, April 5, 2018 Approved
Cacher 1.3.12 234 Tuesday, April 3, 2018 Approved
Cacher 1.3.11 295 Friday, March 30, 2018 Approved
Cacher 1.3.10 259 Tuesday, March 27, 2018 Approved
Cacher 1.3.9 246 Friday, March 23, 2018 Approved
Cacher 1.3.8 233 Wednesday, March 21, 2018 Approved
Cacher 1.3.7 276 Tuesday, March 20, 2018 Approved
Cacher 1.3.6 235 Monday, March 19, 2018 Approved
Cacher 1.3.5 305 Wednesday, March 14, 2018 Approved
Cacher 1.3.4 243 Monday, March 5, 2018 Approved
Cacher 1.3.3 258 Monday, February 26, 2018 Approved
Cacher 1.3.2 245 Saturday, February 17, 2018 Approved
Cacher 1.2.1 301 Friday, January 12, 2018 Approved

This package has no dependencies.

Discussion for the Cacher Package

Ground Rules:

  • This discussion is only about Cacher and the Cacher 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 Cacher, 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