
uitoolkit sudo npm install npm@latest -g
/Users/zhiming/.node/bin/npm -> /Users/zhiming/.node/lib/node_modules/npm/bin/npm-cli.js
[email protected] /Users/zhiming/.node/lib/node_modules/npm
uitoolkit npm -v
2.14.20
为啥装了最新的 NPM 还是显示旧的版本
1 ljcarsenal 2016 年 3 月 15 日 看看你 npm 的路径是不是 /Users/zhiming/.node/bin/npm 。。。 unix 平台下 好像是 which npm 的命令 |
2 chimingphang OP uitookit which -a npm /usr/local/bin/npm |
3 Strikeactor 2016 年 3 月 15 日 |
4 chimingphang OP @Strikeactor 谢谢大虾 |