设置代理
npm config set proxy http://127.0.0.1:1090
npm config set https-proxy http://127.0.0.1:1090
设置registry
npm config set registry http://registry.npmjs.org
代理用户名和密码
npm config set proxy http://username:password@server:port
npm config set https-proxy http://username:passwprd@server:port
取消代理
npm config delete proxy
npm config delete https-proxy
评论(0)