Setting proxy for Windows CMD and Linux Terminal

setting proxy for Windows CMD and Linux Terminal

Linux Terminal:

set http_proxy=http://127.0.0.1:8118
set https_proxy=http://127.0.0.1:8118

set http_proxy=
set https_proxy=

more ref: Setting proxy for apt from terminal

Windows CMD:

format:

set HTTP_PROXY=http://user:password@proxy.domain.com:port

examples:

set HTTP_PROXY=http://127.0.0.1:8118
set HTTPS_PROXY=http://127.0.0.1:8118

Use Privoxy to transfer SOCKS to HTTP/HTTPS or Proxifier to manage the proxy

Setting proxy for Windows CMD and Linux Terminal

上一篇:让你发布的nuget包支持源代码调试


下一篇:ubuntu中使用win10的ssh秘钥