What directory does chocolatey install commands to?

paul_h picture paul_h · Apr 5, 2016 · Viewed 7.6k times · Source

I've successfully done choco install python2 and choco install python3 but I can't see the result on cmd.exe (yes, I reopened non-administrator cmd.exe).

Where does chocolatey install commands to? I'll fix my PATH env-var when I can work out what should be there.

Choclatey's FAQ does not include an answer to this question. I'm more used to homebrew (Mac), and the answer for that is /usr/local/bin/

Answer

Gary Ewan Park picture Gary Ewan Park · Apr 5, 2016

The answer is, it depends :-)

Most package contents will be installed to the chocolatey directory, which you can find here: C:\ProgramData\chocolatey\lib. For example, in the case of pyhton3 you will find the exe in here C:\ProgramData\chocolatey\lib\python3\tools.

In addition, you will find a shim exe located here: C:\ProgramData\chocolatey\bin for python. This location is already contained within your path, so you should already have access to it without making any other changes.