Use apt behind proxy server on Ubuntu 18.04 How to Set the Proxy for APT on Ubuntu 18.04 [https://www.serverlab.ca/tutorials/linux/administration-linux/how-to-set-the-proxy-for-apt-for-ubuntu-18-04/]
NVM (curl) behind corporate proxy server Problem Considering that NVM use curl, the problem is the same executing curl behind a corporate proxy server. curl proxy Received HTTP code 407 from proxy after CONNECT Solution Edit ~/.curlrc proxy = user:psw@host:port