I installed node v0.8.14 on Mac OS 10.7.5. I then installed Grunt with npm install -g grunt
.
Node works perfectly, Grunt doesn't. It keeps saying: -bash: exec: grunt: not found
Any idea what I'm missing?
By default, npm installs into /usr/local. Try /usr/local/bin/grunt
in your shell. To allow you to simply type grunt
, add
export PATH="$PATH:/usr/local/bin"
to the ~/.profile
file.