最近需要使用vue来部署前端,需要使用nodejs,下载太慢,更改为淘宝镜像 // 修改淘宝镜像源为淘宝镜像源 npm config set registry https://registry.npm.taobao.org // 查看镜像源是否已经修改 npm config get registry // 安装淘宝镜像源 npm install -g cnpm --registry=https://registry.npm.taobao.org