Using npm behind a proxy server

If you have trouble using npm behind a proxy server, remember to set the npm proxy and https-proxy variables.
For example:

# sudo npm config set proxy
# sudo npm config set https-proxy

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.