Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Check if grunt is installed?

Tags:

gruntjs

I have Node JS installed. How can I check if grunt is installed? Is it installed globably or does it reside in a specific folder?

For instance, node -v will tell me I have v0.10.33 installed but I cant find any similar commands for Grunt.

like image 227
Evanss Avatar asked Nov 02 '14 18:11

Evanss


People also ask

What is npm install grunt cli?

The Grunt command line interface. Install this globally and you'll have access to the grunt command anywhere on your system. npm install -g grunt-cli. Note: The job of the grunt command is to load and run the version of Grunt you have installed locally to your project, irrespective of its version.

How do I install grunt?

Like installing a specific version of grunt, run npm install grunt@VERSION --save-dev where VERSION is the version you need, and npm will install that version of Grunt in your project folder, adding it to your package. json devDependencies.


1 Answers

You can check the Grunt version by using grunt --version or grunt -V (uppercase 'V')

Grunt command line interface (CLI) options

like image 108
Venrix Avatar answered Nov 15 '22 22:11

Venrix