cmd
set http_proxy=http://127.0.0.1:1080 set https_proxy=http://127.0.0.1:1080
powershell
$env:HTTPS_PROXY="http://127.0.0.1:1080" $env:HTTP_PROXY="http://127.0.0.1:1080" $env:all_proxy="socks5://127.0.0.1:1081"
测试
curl https://www.google.com