node.js - 'cmd' - not able to get the `grunt` version -


i have installed grunt using command : npm install -g grunt-cli after installed trying fetch grunt version using command :

grunt --version - not getting output. issue here? require set env variable or something?

please me.

you need install grunt globally admin. grunt docs recommend use sudo when installing. recommended grunt or gulp plugins installing globally. run same command npm install -g grunt-cli in admin command line try grunt --version once more.

i'd recommend posting separate question grunt processing involves more functionality. example on sample gruntfile can found @ sample gruntfile , includes processing js , html files various tasks.

let me know if helps.

thanks!


Comments

Popular posts from this blog

javascript - How to process users in one specific order using map o each function? -

java - Two interface have same method name with different return type -

javascript - Linking from page A to a specific iframe on page B -