Skip to content

C:\tools vs C:\ProgramData\chocolatey\tools\ vs C:\ProgramData\chocolatey\lib\ directories #2891

Answered by TheCakeIsNaOH
mesvam asked this question in Q&A
Discussion options

You must be logged in to vote

For my answer I'm assuming Chocolatey CLI is installed to C:\ProgramData\chocolatey.

C:\ProgramData\chocolatey\tools\ is a directory that Chocolatey CLI uses to store tools that it includes by default, and uses while installing packages. These tools are 7z.exe, checksum.exe, and shimgen.exe currently. These are not intended to be used directly, and are a part of the internals of Chocolatey CLI. They cannot easily be setup as packages because they are used while installing packages, so it's a chicken and egg problem if they were to be installed into C:\ProgramData\chocolatey\lib\, and they are intended to be kept in lockstep with the version of Chocolatey CLI that is installed to ensure th…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mesvam
Comment options

@TheCakeIsNaOH
Comment options

Answer selected by mesvam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants