2019独角兽企业重金招聘Python工程师标准>>>
npm uninstall -g <package>
参考
https://docs.npmjs.com/cli/uninstall
https://docs.npmjs.com/getting-started/uninstalling-global-packages
https://docs.npmjs.com/getting-started/uninstalling-local-packages
npm install xxx 安装模块
npm install xxx -g 将模块安装到全局环境中 参考http://goddyzhao.tumblr.com/post/9835631010/no-direct-command-for-local-installed-command-line-modul
npm ls 查看安装的模块及依赖
npm ls -g 查看全局安装的模块及依赖
npm uninstall xxx (-g) 卸载模块
npm cache clean 清理缓存
from:
http://www.cnblogs.com/xiziyin/archive/2012/01/21/2328473.html