淘宝npm镜像:https://developer.aliyun.com/mirror/NPM
设置方法:
npm config set proxy=http://127.0.0.1:10809
npm config set registry=http://registry.npmjs.org
npm config set registry=https://registry.npm.taobao.org
npm install --registry=https://registry.npm.taobao.org
查看代理:
npm config get proxy
npm config get registry
取消代理:
npm config delete proxy
npm config delete https-proxy
注意:本文归作者所有,未经作者允许,不得转载