Windows终端设置代理

PowerShell设置代理

1
2
$env:http_proxy="http://127.0.0.1:1086"
$env:https_proxy="http://127.0.0.1:1086"

cmd设置代理

1
2
set HTTP_PROXY=http://127.0.0.1:1086
set HTTPS_PROXY=http://127.0.0.1:1086