//全局安装 npm install 模块名 -g //本地安装 npm install 模块名 //一次性安装多个 npm install 模块1 模块2 模块3 //安装开发时依赖包 npm install 模块名 --save-dev //安装运行时依赖包 npm install 模块名 --save
0