- npm help 查看使用帮助 (npm 命令 --help 查看指定命令的使用帮助)
- npm init 初始化 (npm init -y 跳过向导,快速生成)
- npm install (npm i 简写) 一次性将dependencies选项中依赖项全部安装
- npm install+包名 (npm i + 包名) 只下载
- npm install --save +包名 (npm i --s +包名) 下载并保存依赖项
- npm uninstall + 包名 (npm un +包名) 卸载,依赖项依旧保留
- npm uninstall --save + 包名(npm un -s+包名)依赖项和包都删除