【Windows】终端配置代理
AI-摘要
切换
AiGuoHou GPT
AI初始化中...
介绍自己
生成本文简介
推荐相关文章
前往主页
前往tianli博客
Windows cmd 设置代理
设置 HTTP 代理:
set http_proxy=http://127.0.0.1:7890 & set https_proxy=http://127.0.0.1:7890
socks5代理设置:
set http_proxy=socks5://127.0.0.1:7890
set https_proxy=socks5://127.0.0.1:7890
取消代理:
set http_proxy=
set https_proxy=
Windows git bash 设置代理
设置 HTTP 代理:
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy http://127.0.0.1:7890
设置 socks5代理:
git config --global http.proxy socks5://127.0.0.1:7890
git config --global https.proxy socks5://127.0.0.1:7890
取消代理:
git config --global --unset http.proxy
git config --global --unset https.proxy
Windows PowerShell 设置代理
设置 HTTP 代理:
$Env:http_proxy="http://127.0.0.1:7890";$Env:https_proxy="http://127.0.0.1:7890"
代理测试:
curl https://www.google.com
- 感谢你赐予我前进的力量
赞赏者名单
因为你们的支持让我意识到写文章的价值🙏
本文是原创文章,采用 CC BY-NC-ND 4.0 协议,完整转载请注明来自 知性 の 小破站
评论
隐私政策
你无需删除空行,直接评论以获取最佳展示效果