1npm config set proxy http://username:password@host:port
2npm config set https-proxy http://username:password@host:port
3
1proxy=http://username:password@host:port
2https-proxy=http://username:password@host:port
3https_proxy=http://username:password@host:port
4