Category Archives: sysAdmin

sysAdmin

Setting up Git in the Windows Path

Published by:

You might want to set up git in your system PATH. Bower for example relies heavily on Git to install packages so if you get an error like “ENOGIT git is not installed or not in the PATH” that might be the solution (Win 7):

  • Open File Explorer and right click on Computer
  • select Properties and then Advanced System Settings
  • Under Advanced tab select Environment Variables
  • Then under System Variables go to Path and click edit
  • Append at the end of the Variable value string the path to the Git bin and cmd folder separated with semicolon(;)

Here is what i append:

;C:\Program Files (x86)\Git\bin\;C:\Program Files (x86)\Git\cmd\

Watch out: Depending on your system, Git might be in Program Files and not Program Files (86)