Installing Gruntjs Ubuntu 14.04

Posted May 17, 2014 19.4k views
Hi, anyone has a tutorial or link on installing gruntjs on ubuntu 14.04. I tried installation multiple times but didnt work. sudo npm install -g grunt-cli then i go to my project directory cd /path/to/your/project/ npm install grunt grunt-contrib-concat grunt-contrib-uglify grunt-contrib-cssmin grunt-contrib-htmlmin grunt-contrib-watch --save-dev Evertime i run 'grunt' command it says No command 'grunt' found, did you mean: Command 'grun' from package 'grun' (universe)

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers
As of Grunt 0.4.0, the command line tool is actually provided by a separate package:

npm install -g grunt-cli


npm install -g grunt-cli doesnt work for me either. I think it may have something to do with my Ubuntu $PATH variables.