Checkmark=facebooklinklinkedinOngoing indicator +Left-facing arrowRight-facing arrowCheckmarkDown-pointing chevronLeft-pointing chevronRight-pointing chevrontwitter

Working with a HTTP proxy

If you are behind a corporate proxy (web proxy) you may experience issues such as nerd login not succeeding.

Our CLI communicates with our servers over HTTP(s), which is similar to how your browser connects to the internet. But your company may have your browser auto-configured.

You will have to manually configure a proxy server for other programs (like ours) to connect to the internet. This is not likely to happen in home environments.

How to configure

Luckily configuring a proxy server for the ‘nerd’ CLI is easy. All you need to do is set the environment variable HTTP_PROXY.

The address of the HTTP_PROXY depends on your office environment. You can best ask your IT adminstrator. You can probably also find it on your intranet site.

On Windows:

$ set HTTP_PROXY=<your_company_proxy>

On Linux & macOS:

$ export HTTP_PROXY=<your_company_proxy>

You can try looking in your computer settings under “proxy”; “web proxy” or “http proxy”. But note that the address under automatic proxy setup is NOT the proxy address. It is a link to a script to find the proxy address, and may not be helpfull at all.

If there is an address listed under “Manual proxy setup”, that address worth trying.

Some setups have a different address for HTTPS_PROXY. Our client will first check the HTTPS_PROXY environment variable, but will fallback to the HTTP_PROXY address. So setting either is fine.