Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing npm module results in command not found

I am trying to install grunt. According to this article all I should need to do is run

npm install -g grunt

After I run this command it appears to succeed and all dependencies are installed. When I then try to run grunt, I get command not found.

I am on Ubuntu 12.04.

like image 737
citizen conn Avatar asked Mar 19 '13 22:03

citizen conn


1 Answers

Rob W already answered this. But I'll post it here to be more clear. Please Rob, if you want to answer I can remove this.

You've to install grunt-cli globally:

sudo npm install -g grunt-cli

like image 182
santiagobasulto Avatar answered Oct 14 '22 12:10

santiagobasulto