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/
NOTICE: As of 0.9. 8.24, Chocolatey's default install location is C:\ProgramData\Chocolatey. This reduces the attack surface on a local installation of Chocolatey and limits who can make changes to the directory. You can install Chocolatey to Program Files if you feel that is a more appropriate place.
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 -?
The answer is, it depends :-)
Most package contents will be installed to the chocolatey directory, which you can find at C:\ProgramData\chocolatey\lib
. For example, in the case of python3
you will find the exe in C:\ProgramData\chocolatey\lib\python3\tools
.
In addition, you will find a shim exe located at 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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With