Windows命令行设置代理

时间:2020-07-12 01:06:12   收藏:0   阅读:126
cmd,powershell,git-bash设置代理的方式是不一样的

powershell 可以使用

$env:https_proxy = "127.0.0.1:1080"
$env:http_proxy = "127.0.0.1:1080"

其它参考 https://zcdll.github.io/2018/01/27/proxy-on-windows-terminal/
评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!