cmd powershell proxy 代理 设置
https://www.cnblogs.com/xch-jiang/p/14324636.html
powershell
当前 shell 的代理
$env:HTTP_PROXY="http://127.0.0.1:7890"
$env:HTTP_PROXY="https://127.0.0.1:7890"
cmd
rem 当前 shell 的代理
set http_proxy=http://127.0.0.1:7890
Windows为cmd/powershell设置代理
设置代理
netsh winhttp set proxy 127.0.0.1:1080
取消代理
netsh winhttp reset proxy
查看代理
netsh winhttp show proxy
作者:shangyaqi
链接:https://www.jianshu.com/p/7d08b3c2be95
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

浙公网安备 33010602011771号