Windows命令行设置代理
cmd,powershell,git-bash设置代理的方式是不一样的
powershell
$env:https_proxy = "127.0.0.1:7890" $env:http_proxy = "127.0.0.1:7890"
git-bash
export http_proxy='127.0.0.1:7890'
export https_proxy='127.0.0.1:7890'
cmd
set http_proxy='127.0.0.1:7890'
set https_proxy='127.0.0.1:7890'