安裝完grunt,grunt命令沒有報錯也沒其他 啥都沒有 怎么破
tongchuan@tongchuan-K42Jv:~$ sudo npm install -g grunt-cli
/usr/bin/grunt -> /usr/lib/node_modules/grunt-cli/bin/grunt
[email protected] /usr/lib/node_modules/grunt-cli
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected])
tongchuan@tongchuan-K42Jv:~$ grunt
tongchuan@tongchuan-K42Jv:~$ nodejs -v
v0.10.37
tongchuan@tongchuan-K42Jv:~$ npm -v
1.4.28
tongchuan@tongchuan-K42Jv:~$ grunt -v
tongchuan@tongchuan-K42Jv:~$ grunt-cli
grunt-cli:未找到命令
tongchuan@tongchuan-K42Jv:~$ grunt
tongchuan@tongchuan-K42Jv:~$ npm root -g
/usr/lib/node_modules
tongchuan@tongchuan-K42Jv:~$ grunt
tongchuan@tongchuan-K42Jv:~$ grunt -v
tongchuan@tongchuan-K42Jv:~$ gunt
2015-07-09
grunt -version 查看版本
2015-06-17
你已經安裝上了,繼續往后看吧。