Set Proxy in Terminal (Bash, CMD, PowerShell, etc.) Assume that you want to set 127.0.0.1:10809 as HTTP proxy and 127.0.0.1:10808 as SOCKS proxy. How to set a proxy for CMD/Powershell/Terminal/Git CMD / PowerShell Using netsh Configure the proxy server manually using netsh command