P
P
President422015-01-15 22:06:33
npm
President42, 2015-01-15 22:06:33

How to install Grunt via npm?

I don’t understand what the hell is going on ..
I install Grunt with the npm install -g grunt command , everything seems to be swinging normally, it doesn’t show any errors. After installing I write grunt , I get bash: grunt: command not found
When I try to uninstall npm uninstall grunt , I write not installed in /home/boss/node_modules: "grunt"

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
gwenn, 2015-01-15
@President42

try installing like this - npm install -g grunt-cli

P
President42, 2015-01-16
@President42

It turned out that you need to install grunt-cli with the -g flag , and grunt - without the flag)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question