Under Linux, I use $http_proxy and $https_proxy which works well for node and npm but nvm doesn\'t use them.
$http_proxy
$https_proxy
node
npm
nvm
NVM uses curl, so modifying the file ~/.curlrc file (or create it if it does not exist)
proxy = <proxy_host>:<proxy_port>