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