Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

To which folder does Chocolatey download the packages before installing them?

Tags:

chocolatey

I've looked into C:\ProgramData\chocolatey\lib.

Each package I've installed has its own folder and some content like this:

C:.
|   notepadplusplus.nupkg
|
\---tools
        chocolateyInstall.ps1

But there are no files like notepadplusplus.msi or notepadplusplus.zip.

Does Chocolately remove the package itself after the installation to save harddisk space?

Is there no local cache somewhere?

like image 509
Lernkurve Avatar asked Jul 17 '16 12:07

Lernkurve


People also ask

Where does chocolatey install packages to?

The Chocolatey client uses NuGet. Core. dll to obtain a package from the source repository. The package contents are installed into c:\programdata\chocolatey\lib<package id>.

How do I download a package from chocolatey?

Go to https://community.chocolatey.org/packages/chocolatey and find a version you want. Click on Download to download that version's nupkg file.

How do you check chocolatey is installed?

To verify that Chocolatey is installed, we will use the choco command. C:\WINDOWS\system32>choco Chocolatey v0. 10.15 Please run 'choco -? ' or 'choco -?


1 Answers

The local cache defaults to the TEMP folder located at:

C:\Users\<username>\AppData\Local\Temp\chocolatey

The cache can also be controlled through the config value cacheLocation, which can be set to a different location, which is useful when the TEMP directory is not allowed for downloads.

like image 169
Lernkurve Avatar answered Oct 02 '22 08:10

Lernkurve