npm配置内部代理

2019-11-01  本文已影响0人  凌统丶
npm config get proxy //查看代理

npm config set proxy proxy=http://shproxy.fehorizon.com:8080 //设置代理


mac:   npm config set http-proxy 'http://shproxy.fehorizon.com:8080'

npm config set https-proxy=http://tangbingyu:Sinochem1@shproxy.fehorizon.com:8080 
npm config set proxy=http://tangbingyu:Sinochem1@shproxy.fehorizon.com:8080
yarn config get proxy //查看代理

yarn config set proxy proxy=http://shproxy.fehorizon.com:8080 //设置代理
上一篇 下一篇

猜你喜欢

热点阅读