Using npm behind a proxy

bpholt's picture

It took me a bit of searching to figure out how to get npm working behind the proxy server at work. After getting registry.npmjs.org added to the proxy’s list of URLs accessible without authentication, npm still didn’t work. The following commands seemed to have resolved it, at the cost of using HTTP instead of HTTPS.