0 votes
33 views
asked by (8.2k points)
How to setup Node.js and Npm behind a corporate web proxy

1 Answer

0 votes
answered by

Open an command prompt or terminal session and run the following commands to configure npm to work with your web proxy. The commands use proxy.company.com as the address and 8080 as the port.

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

Categories

...