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:

38,654

Downloads of v 2.7.1:

196

Last Update:

08 Apr 2019

Package Maintainer(s):

Software Author(s):

  • Penguin Labs
  • LLC

Tags:

cacher code snippets

Cacher

This is not the latest version of Cacher available.

  • 1
  • 2
  • 3

2.7.1 | Updated: 08 Apr 2019

Downloads:

38,654

Downloads of v 2.7.1:

196

Maintainer(s):

Software Author(s):

  • Penguin Labs
  • LLC

Cacher 2.7.1

This is not the latest version of Cacher available.

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

  • 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'" --version="'2.7.1'" [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'" --version="'2.7.1'" 
$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.7.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.7.1'
end

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


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

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


package { 'cacher':
  ensure   => '2.7.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 08 Apr 2019.

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.

icons\cacher.png
 
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop'

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

Install-ChocolateyPackage @packageArgs
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)" }
}

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.4 36 Wednesday, June 5, 2024 Approved
Cacher 2.47.3 60 Friday, March 15, 2024 Approved
Cacher 2.47.2 85 Tuesday, October 3, 2023 Approved
Cacher 2.47.1 104 Thursday, July 20, 2023 Approved
Cacher 2.47.0 70 Tuesday, June 20, 2023 Approved
Cacher 2.46.0 141 Saturday, January 7, 2023 Approved
Cacher 2.45.3 82 Thursday, October 27, 2022 Approved
Cacher 2.45.0 83 Saturday, September 10, 2022 Approved
Cacher 2.44.3 92 Friday, July 1, 2022 Approved
Cacher 2.44.2 99 Thursday, March 31, 2022 Approved
Cacher 2.44.1 62 Sunday, March 27, 2022 Approved
Cacher 2.43.2 94 Friday, February 25, 2022 Approved
Cacher 2.43.1 80 Tuesday, February 15, 2022 Approved
Cacher 2.43.0 88 Wednesday, January 19, 2022 Approved
Cacher 2.42.7 120 Sunday, October 24, 2021 Approved
Cacher 2.42.4.20210904 132 Saturday, September 4, 2021 Approved
Cacher 2.42.2 125 Friday, August 20, 2021 Approved
Cacher 2.42.1 151 Wednesday, June 16, 2021 Approved
Cacher 2.41.2 129 Tuesday, May 11, 2021 Approved
Cacher 2.41.1 103 Monday, April 26, 2021 Approved
Cacher 2.39.0 161 Wednesday, January 6, 2021 Approved
Cacher 2.38.3 123 Friday, December 18, 2020 Approved
Cacher 2.38.2 118 Tuesday, December 15, 2020 Approved
Cacher 2.38.1 98 Monday, December 14, 2020 Approved
Cacher 2.36.0 125 Wednesday, December 9, 2020 Approved
Cacher 2.35.1 101 Tuesday, December 8, 2020 Approved
Cacher 2.34.0 134 Monday, November 30, 2020 Approved
Cacher 2.33.2 156 Monday, October 26, 2020 Approved
Cacher 2.33.1 126 Wednesday, October 21, 2020 Approved
Cacher 2.33.0 143 Wednesday, October 14, 2020 Approved
Cacher 2.32.6 175 Tuesday, September 1, 2020 Approved
Cacher 2.32.5 149 Sunday, August 30, 2020 Approved
Cacher 2.32.4 146 Wednesday, August 26, 2020 Approved
Cacher 2.32.3 182 Wednesday, August 12, 2020 Approved
Cacher 2.32.0 155 Wednesday, July 22, 2020 Approved
Cacher 2.31.2 154 Tuesday, July 21, 2020 Approved
Cacher 2.31.1 132 Wednesday, July 15, 2020 Approved
Cacher 2.31.0 156 Monday, July 6, 2020 Approved
Cacher 2.30.4 147 Thursday, June 25, 2020 Approved
Cacher 2.30.3 159 Tuesday, June 23, 2020 Approved
Cacher 2.30.2 132 Sunday, June 21, 2020 Approved
Cacher 2.30.0 142 Thursday, June 18, 2020 Approved
Cacher 2.29.0 153 Friday, June 5, 2020 Approved
Cacher 2.28.1 160 Tuesday, May 26, 2020 Approved
Cacher 2.28.0 176 Wednesday, May 20, 2020 Approved
Cacher 2.27.3 156 Friday, May 15, 2020 Approved
Cacher 2.27.2 172 Monday, May 11, 2020 Approved
Cacher 2.27.1 165 Sunday, May 10, 2020 Approved
Cacher 2.26.0 188 Saturday, May 2, 2020 Approved
Cacher 2.25.7 157 Monday, April 27, 2020 Approved
Cacher 2.25.5 149 Friday, April 24, 2020 Approved
Cacher 2.25.2 189 Thursday, April 16, 2020 Approved
Cacher 2.25.0 178 Sunday, April 12, 2020 Approved
Cacher 2.24.0 173 Thursday, April 9, 2020 Approved
Cacher 2.23.1 134 Friday, April 3, 2020 Approved
Cacher 2.23.0 204 Tuesday, March 10, 2020 Approved
Cacher 2.22.4 241 Tuesday, January 14, 2020 Approved
Cacher 2.22.1 202 Saturday, November 23, 2019 Approved
Cacher 2.21.4 177 Friday, October 18, 2019 Approved
Cacher 2.21.3 185 Tuesday, October 15, 2019 Approved
Cacher 2.21.2 181 Sunday, October 13, 2019 Approved
Cacher 2.21.1 182 Friday, October 11, 2019 Approved
Cacher 2.21.0 203 Wednesday, October 9, 2019 Approved
Cacher 2.20.2 164 Tuesday, October 8, 2019 Approved
Cacher 2.20.1 170 Friday, October 4, 2019 Approved
Cacher 2.20.0 181 Thursday, October 3, 2019 Approved
Cacher 2.19.4 184 Monday, September 23, 2019 Approved
Cacher 2.19.2 163 Sunday, September 22, 2019 Approved
Cacher 2.19.1 163 Sunday, September 22, 2019 Approved
Cacher 2.19.0 145 Saturday, September 21, 2019 Approved
Cacher 2.18.2 171 Thursday, September 19, 2019 Approved
Cacher 2.18.1 288 Friday, September 6, 2019 Approved
Cacher 2.18.0 197 Thursday, September 5, 2019 Approved
Cacher 2.17.3 174 Tuesday, September 3, 2019 Approved
Cacher 2.17.2 209 Monday, September 2, 2019 Approved
Cacher 2.17.0 225 Sunday, September 1, 2019 Approved
Cacher 2.16.3 255 Thursday, August 29, 2019 Approved
Cacher 2.16.2 207 Wednesday, August 28, 2019 Approved
Cacher 2.16.1 205 Wednesday, August 21, 2019 Approved
Cacher 2.16.0 235 Tuesday, August 20, 2019 Approved
Cacher 2.15.2 225 Tuesday, August 13, 2019 Approved
Cacher 2.15.1 188 Friday, August 9, 2019 Approved
Cacher 2.14.7 177 Friday, August 9, 2019 Approved
Cacher 2.14.6 227 Wednesday, August 7, 2019 Approved
Cacher 2.14.5 184 Tuesday, August 6, 2019 Approved
Cacher 2.14.3 201 Saturday, August 3, 2019 Approved
Cacher 2.14.1 180 Thursday, August 1, 2019 Approved
Cacher 2.13.5 184 Wednesday, July 31, 2019 Approved
Cacher 2.13.4 212 Wednesday, July 31, 2019 Approved
Cacher 2.13.3 209 Monday, July 29, 2019 Approved
Cacher 2.13.2 184 Monday, July 29, 2019 Approved
Cacher 2.13.1 222 Sunday, July 28, 2019 Approved
Cacher 2.13.0 187 Saturday, July 27, 2019 Approved
Cacher 2.12.4 155 Tuesday, July 23, 2019 Approved
Cacher 2.12.3 185 Monday, July 15, 2019 Approved
Cacher 2.12.2 194 Friday, July 12, 2019 Approved
Cacher 2.12.0 214 Thursday, July 11, 2019 Approved
Cacher 2.11.4 227 Monday, June 17, 2019 Approved
Cacher 2.11.2 184 Friday, June 14, 2019 Approved
Cacher 2.11.1 207 Thursday, June 13, 2019 Approved
Cacher 2.11.0 157 Wednesday, June 12, 2019 Approved
Cacher 2.10.5 214 Monday, June 10, 2019 Approved
Cacher 2.10.4 186 Wednesday, May 29, 2019 Approved
Cacher 2.10.2 222 Wednesday, May 22, 2019 Approved
Cacher 2.9.0 232 Friday, May 10, 2019 Approved
Cacher 2.8.3 249 Friday, May 3, 2019 Approved
Cacher 2.8.2 229 Thursday, May 2, 2019 Approved
Cacher 2.8.1 221 Wednesday, April 17, 2019 Approved
Cacher 2.8.0 253 Saturday, April 13, 2019 Approved
Cacher 2.7.2 228 Tuesday, April 9, 2019 Approved
Cacher 2.7.1 196 Monday, April 8, 2019 Approved
Cacher 2.7.0 228 Friday, March 29, 2019 Approved
Cacher 2.6.9 211 Wednesday, March 27, 2019 Approved
Cacher 2.6.8 182 Sunday, March 24, 2019 Approved
Cacher 2.6.6 195 Friday, March 22, 2019 Approved
Cacher 2.6.5 193 Thursday, March 14, 2019 Approved
Cacher 2.6.4 189 Wednesday, March 13, 2019 Approved
Cacher 2.6.3 177 Monday, March 11, 2019 Approved
Cacher 2.6.2 200 Friday, March 8, 2019 Approved
Cacher 2.6.1 206 Wednesday, March 6, 2019 Approved
Cacher 2.6.0 205 Monday, March 4, 2019 Approved
Cacher 2.5.14 241 Tuesday, February 12, 2019 Approved
Cacher 2.5.12 206 Tuesday, February 12, 2019 Approved
Cacher 2.5.10 199 Saturday, February 9, 2019 Approved
Cacher 2.5.8 183 Friday, February 8, 2019 Approved
Cacher 2.5.7 236 Thursday, January 31, 2019 Approved
Cacher 2.5.6 214 Wednesday, January 30, 2019 Approved
Cacher 2.5.5 222 Saturday, January 26, 2019 Approved
Cacher 2.5.4 206 Friday, January 25, 2019 Approved
Cacher 2.5.3 254 Thursday, January 24, 2019 Approved
Cacher 2.5.1 225 Thursday, January 24, 2019 Approved
Cacher 2.4.4 219 Monday, January 21, 2019 Approved
Cacher 2.4.3 210 Saturday, January 19, 2019 Approved
Cacher 2.4.2 201 Friday, January 18, 2019 Approved
Cacher 2.4.1 203 Thursday, January 17, 2019 Approved
Cacher 2.3.6 178 Thursday, January 10, 2019 Approved
Cacher 2.3.5 209 Wednesday, January 9, 2019 Approved
Cacher 2.3.4 200 Tuesday, January 8, 2019 Approved
Cacher 2.3.3 193 Sunday, January 6, 2019 Approved
Cacher 2.3.2 181 Saturday, January 5, 2019 Approved
Cacher 2.3.1 189 Saturday, December 29, 2018 Approved
Cacher 2.3.0 224 Wednesday, December 19, 2018 Approved
Cacher 2.2.0 251 Tuesday, December 4, 2018 Approved
Cacher 2.1.0 206 Monday, November 19, 2018 Approved
Cacher 2.0.11 230 Thursday, November 15, 2018 Approved
Cacher 2.0.10 221 Saturday, January 5, 2019 Approved
Cacher 2.0.9 195 Thursday, November 8, 2018 Approved
Cacher 2.0.7 216 Thursday, November 8, 2018 Approved
Cacher 2.0.6 206 Wednesday, November 7, 2018 Approved
Cacher 2.0.4 179 Monday, October 29, 2018 Approved
Cacher 2.0.3 203 Sunday, October 28, 2018 Approved
Cacher 2.0.2 214 Sunday, October 28, 2018 Approved
Cacher 2.0.1 248 Saturday, October 27, 2018 Approved
Cacher 2.0.0 198 Saturday, October 27, 2018 Approved
Cacher 1.6.13 228 Wednesday, October 24, 2018 Approved
Cacher 1.6.11 225 Friday, October 12, 2018 Approved
Cacher 1.6.10 192 Wednesday, October 10, 2018 Approved
Cacher 1.6.9 211 Saturday, October 6, 2018 Approved
Cacher 1.6.8 208 Thursday, October 4, 2018 Approved
Cacher 1.6.7 199 Wednesday, October 3, 2018 Approved
Cacher 1.6.6 201 Tuesday, October 2, 2018 Approved
Cacher 1.6.4 226 Thursday, September 27, 2018 Approved
Cacher 1.6.1 196 Tuesday, September 25, 2018 Approved
Cacher 1.5.15 197 Friday, August 24, 2018 Approved
Cacher 1.5.14 222 Tuesday, August 21, 2018 Approved
Cacher 1.5.13 219 Tuesday, August 7, 2018 Approved
Cacher 1.5.12 236 Friday, July 27, 2018 Approved
Cacher 1.5.11 245 Tuesday, July 3, 2018 Approved
Cacher 1.5.10 216 Tuesday, June 26, 2018 Approved
Cacher 1.5.9 250 Monday, June 25, 2018 Approved
Cacher 1.5.8 215 Saturday, June 23, 2018 Approved
Cacher 1.5.7 236 Saturday, June 23, 2018 Approved
Cacher 1.5.6 220 Thursday, June 21, 2018 Approved
Cacher 1.5.5 257 Tuesday, June 12, 2018 Approved
Cacher 1.5.4 303 Thursday, June 7, 2018 Approved
Cacher 1.5.3 280 Tuesday, May 15, 2018 Approved
Cacher 1.5.1 247 Saturday, May 12, 2018 Approved
Cacher 1.5.0 241 Thursday, May 10, 2018 Approved
Cacher 1.4.5 252 Wednesday, May 2, 2018 Approved
Cacher 1.4.4 265 Friday, April 20, 2018 Approved
Cacher 1.4.3 260 Wednesday, April 18, 2018 Approved
Cacher 1.4.2 274 Tuesday, April 17, 2018 Approved
Cacher 1.4.1 269 Tuesday, April 17, 2018 Approved
Cacher 1.3.14 274 Tuesday, April 10, 2018 Approved
Cacher 1.3.13 286 Thursday, April 5, 2018 Approved
Cacher 1.3.12 260 Tuesday, April 3, 2018 Approved
Cacher 1.3.11 331 Friday, March 30, 2018 Approved
Cacher 1.3.10 285 Tuesday, March 27, 2018 Approved
Cacher 1.3.9 286 Friday, March 23, 2018 Approved
Cacher 1.3.8 269 Wednesday, March 21, 2018 Approved
Cacher 1.3.7 316 Tuesday, March 20, 2018 Approved
Cacher 1.3.6 268 Monday, March 19, 2018 Approved
Cacher 1.3.5 337 Wednesday, March 14, 2018 Approved
Cacher 1.3.4 273 Monday, March 5, 2018 Approved
Cacher 1.3.3 291 Monday, February 26, 2018 Approved
Cacher 1.3.2 275 Saturday, February 17, 2018 Approved
Cacher 1.2.1 332 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