终端代理
终端环境变量命令
记得修改端口和ip
Powershell
1 | $env:HTTP_PROXY="http://127.0.0.1:7897";$env:HTTPS_PROXY="http://127.0.0.1:7897" |
CMD
1 | set http_proxy=http://127.0.0.1:7897 set https_proxy=http://127.0.0.1:7897 |
Bash
1 | export https_proxy=http://127.0.0.1:7890 http_proxy=http://127.0.0.1:7890 all_proxy=socks5://127.0.0.1:7890 |
参考:
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 SobugS!
评论