Cmder设置代理


默认模式:http代理
set http_proxy=http://127.0.0.1:7008
set https_proxy=http://127.0.0.1:7008

bash模式:sock5代理
export https_proxy=socks5://127.0.0.1:1080 
export http_proxy=socks5://127.0.0.1:1080

PowerShell :http代理
$env:http_proxy=http://127.0.0.1:7008
$env:https_proxy=http://127.0.0.1:7008

检测命令:curl www.google.com




原文地址:https://www.cnblogs.com/QinTO/p/13443708.html