综合编程

git npm brew yarn 配置proxy

微信扫一扫,分享到朋友圈

git npm brew yarn 配置proxy
0

all

export https_proxy=http://127.0.0.1:6152
export http_proxy=http://127.0.0.1:6152
export all_proxy=socks5://127.0.0.1:6153




git npm brew yarn 配置代理

//git列出
git config --global http.proxy

//git设置
git config --global http.proxy 'socks5://127.0.0.1:6153'

//git取消设置

git config --global --unset http.proxy



npm

//列出所有配置
npm config ls -l

//列出
npm config list

//设置

npm config set https-proxy http://127.0.0.1:6152
npm config set proxy http://127.0.0.1:6152



//npm 取消配置
npm config list delete https-proxy
npm config set proxy


//yarn 列出

yarn config list

//yarn 设置 

yarn config set proxy http://127.0.0.1:6152
yarn config set https-proxy http://127.0.0.1:6152


//yarn 取消配置

yarn config delete proxy
yarn config delete https-proxy



//brew 列出

all_proxy=socks5://127.0.0.1:6153 brew install mysql

阅读原文...


Ask Maclean Oracle Blog

docker/kubernetes国内源/镜像源解决方式

上一篇

What Skills do you Need to get into UX Designing?

下一篇

您也可能喜欢

评论已经被关闭。

插入图片
git npm brew yarn 配置proxy

长按储存图像,分享给朋友