Is there a way to make npm commands work properly behind a proxy?

Is there a way to make NPM commands work properly behind proxy? I was trying to install the angular library using the NPM but seems due to proxy issue its not able to download from internet. Can someone please help?

2 thoughts on “Is there a way to make npm commands work properly behind a proxy?

  1. Ruma says:

    You can set the proxy by running below commands of NPM,

    npm config set proxy proxyservername:proxyserverport
    npm config set https-proxy proxyservername:proxyserverport

    Thanks

  2. at this site says:

    This is certainly well thought out. May I ask some questions?

Leave a Reply

Your email address will not be published. Required fields are marked *