Prerequsites

You must have root or sudo privileged user account access to your Debian system. Now login to your Debian system. For remote system can use ssh client or its alternatives for Windows. Upgrade the current packages to the latest version.

Step 1 – Installing Node.js

If you already have node.js and npm installed on your system skip this step. Elase you need to install node.js on your system first. Use following set of commands to add node.js ppa in your Ubuntu system and install it. Make sure you have successfully installed node.js and npm on your system

Step 2 – Install Grunt on Debian

Now use the following command to install grunt and grunt cli using npm command line utility. This will install Grunt globally on your system. Run command to check the version installed on your system.