cmd设置代理

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

posted on 2020-12-19 01:04  不可能被劝退的新手  阅读(60)  评论(0编辑  收藏  举报