1,npm 网站 注册表 CLI
2,node.js
3,更新 npm npm install npm@latest -g
4,用 npm 安装需要的 包 npm install 包名
5,用 package.json 管理用到的 包 npm init
6,dependencies:{} 生产环境用到的包
7,devDependencies:{} 开发环境用到的包
8,npm install 包名 --save 添加一个包到生产环境
9,npm install 包名 --save-dev 添加一个包到开发环境
10,npm update 在 package.json 目录运行 更新 包
11,npm outdated 在 package.json 目录运行 检查是否需要更新 包
12,npm uninstall 包名 卸载本地包
13,npm uninstall 包名 --save 卸载生产环境 包
14,npm uninstall 包名 --save-dev 卸载开发环境 包
15,npm install -g 包名 安装全局 包
16,npm update -g 包名 更新全局 包
17,npm uninstall -g 包名 卸载全局 包