How to npm install with git-bash/mingw32 on win7
问题 I am using git-bash/mingw32 on win7. I am trying to install npm: $ npm install sh: npm: command not found. Git-bash is working normally and is installed correctly. How can I make this work? 回答1: There is a couple of reasons for this behaviour: 1) npm not installed 2) npm not in %PATH% You can add npm to %PATH% by running cmd (win+r -> cmd) as administrator and execute: SET PATH=%PATH%;c:\here\is\path\to\npm\dir After that — try run npm again. 回答2: while installing node.js when click the set