Chocolatey - Git installs, but is not on the PATH

Rob picture Rob · Aug 5, 2014 · Viewed 13.1k times · Source

I'm using Chocolatey (v0.9.8.27) as a package manager for Windows. I've installed multiple packages, and they all run fine, but for some reason Git isn't working.

The command I used was choco install git. It downloads git and git.install to the lib folder, and says that the install finished successfully, but nothing ends up in the bin folder. When I try to start Git, I get an error about it not being a recognized command.

My first thought was to check my environment variables, but I don't even see any executables to point to. Has anyone else come across this before?

Answer

MushinNoShin picture MushinNoShin · Mar 27, 2015

Some folks might be running into this currently as there's an issue with the current version (1.9.5.20150319) of the git.install package.

This can be gotten around by installing the previous version with:

choco install git.install -version 1.9.5.20150114