I've just started working with an agency that uses Grunt for their code compilation. I've not used Grunt, Node or NPM before. I've installed Node.JS using the Package installer on their website (node-v0.12.1.pkg
), which is supposed to install NPM at the same time. However, running:
npm -v
returns
-bash: npm: command not found
Node is installed correctly, but I'm pretty sure my PATHs (whatever they are) are broken, so it doesn't know where to look for NPM. There is a .npm
folder inside my user directory.
Earlier in the year I did a lot of fiddling about with trying to set up Ruby and Git correctly, installed RVM, and at some point during that process I think I've broken my PATHs. I don't know how they work - is anyone able to help me sort it out so NPM works correctly and I can start using Grunt?