How to install Grunt on Mac OSX

Grunt is a JavaScript task runner, a tool used to automatically perform frequently used tasks like minify CSS, SASS compilation and watching JS files for changes and much more. You can install Grunt on Mac OSX using npm (node packaging manager). Following are the most common tasks performed using grunt:   Uglify Javascript code. Concat multiple file. Watch files for changes Code validation with jsHint etc. Copy files from one location to another. Before installing Grunt, update your npm package (This might need sudo based on your system permission¬†).

or

If you are using sudo¬†option, you are asked …

Continue Reading