+1 vote
in JavaScript by
How to install Grunt.js?

1 Answer

0 votes
by

Installing Grunt.js

Installing Grunt.js

Grunt.js has dependency on Node.js. Before we install the Grunt, we need to install the Node.js.

As discussed, installing the Grunt.js involves the following steps.

  • Install Node.js
  • Install grunt-cli globally
  • Create a package.json file
  • Install grunt locally
  • Creating the Gruntfile.js
  • Install plug-ins

Grunt.js could be installed using the below syntax:

npm install grunt-cli -g
...