npm 安装
npm 安装
npm install
全局安装
npm install npm -g
安装淘宝镜像
https://github.com/cnpm/cnpm
npm install -g cnpm --registry=https://registry.npm.taobao.org
npm安装到指定版本
比如安装1.2.3
npm install -g npm@1.2.3
npm install
全局安装
npm install npm -g
https://github.com/cnpm/cnpm
npm install -g cnpm --registry=https://registry.npm.taobao.org
比如安装1.2.3
npm install -g npm@1.2.3