I am trying to install grunt . According to this article all I should need to do is run
npm install -g grunt
After I run this command it appears to succeed and all dependencies are installed. When I then try to run grunt, I get command not found.
I am on Ubuntu 12.04.
Rob W
already answered this. But I'll post it here to be more clear. Please Rob, if you want to answer I can remove this.
You've to install grunt-cli globally:
sudo npm install -g grunt-cli
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.