Installing Gruntjs Ubuntu 14.04

  • Posted May 17, 2014

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)


This comment has been deleted

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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

As of Grunt 0.4.0, the command line tool is actually provided by a separate package: <br> <br><pre> <br>npm install -g grunt-cli <br></pre> <br> <br>See: