Install Grunt's command line interface (CLI) globally using NPM.
npm install -g grunt-cli
Verify the Installation
To verify that you have correctly installed Grunt. It should display the version number along with some extra information.