citizen conn
citizen conn

Reputation: 15390

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.

Upvotes: 6

Views: 6029

Answers (1)

santiagobasulto
santiagobasulto

Reputation: 11686

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

Upvotes: 12

Related Questions