I think is best to use -g for a global installation.

e.g.

`sudo npm install -g grunt`