1.npm uninstall xxx --save-dev //删除包及删除配置项
2.npm install xxx@version //安装指定版本
3.npm install //覆盖
4.npm -g install xxx // 全局安装
5.npm config set registry https://registry.npm.taobao.org //添加镜像
6.npm ls //查看已安装的模块
7.npm -g update xxx //全局更新
8.npm update xxx //本地更新