Configure Nodejs behind a proxy

npm config set proxy http://proxy.company.com:8080
npm config set https-proxy http://proxy.company.com:8080

Proxy and authen

Have to encoded the backslash

# Do not run this
# npm config set proxy "http://domainusername:password@servername:port/"
# run this
npm config set proxy "http://domain%5Cusername:password@servername:port/"

Loading