This is an old revision of the document!
As the title indicates, you only need to complete the steps in this section once on your computer. You will need to be connected to the Internet.
npm install -g grunt-cliand press the Enter key. This command asks npm – short for the Node Package Manager – to install Grunt for you. The
-gpart ensures that you'll be able to use Grunt in any project you create in the future. The G is short for “global.”
npm will print out text as it installs Grunt, and it's normal for it to pause for a moment after you press Enter before printing any response. What it's doing is consulting a global repository to find the files you need – a lot more convenient than you having to hunt around on the Web and run a separate installer. When you see the prompt again after it completes, you're done.