win+R 打开输入cmd打开
查看node是否安装输入命令 node -v
安装淘宝镜像输入命令 npm install -g cnpm -registry=https://registry.npm.taobao.org
查看淘宝镜像输入命令 npm get registry
全局设置淘宝镜像输入命令 npm config set registry http://registry.npm.taobao.org
win+R 打开输入cmd打开
查看node是否安装输入命令 node -v
安装淘宝镜像输入命令 npm install -g cnpm -registry=https://registry.npm.taobao.org
查看淘宝镜像输入命令 npm get registry
全局设置淘宝镜像输入命令 npm config set registry http://registry.npm.taobao.org