npm config set proxy http://username:password@host:port
npm config set https-proxy http://username:password@host:port
//set proxy
npm config set proxy "http://domainusername:password@servername:port/"
npm config set proxy "http:ip:port/"
//remove procy
npm config rm proxy
npm config rm https-proxy
npm config rm proxy
npm config rm https-proxy
npm config --global rm proxy
npm config --global rm https-proxy
npm config set http-proxy
npm config set https-proxy
npm config set proxy http://proxy_host:port
proxy=http://username:password@host:port
https-proxy=http://username:password@host:port
https_proxy=http://username:password@host:port