Installing npm module results in command not found

gruntjs, javascript, ubuntu

Solution

`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`

Problem

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.

Original source

Related problems