Question
I'm behind a corporate proxy. How do I configure npm to work with it?
Asked by: USER1792
69 Viewed
69 Answers
Answer (69)
You need to configure npm to use your proxy. Use the following commands, replacing `your_proxy_url` with your actual proxy URL: `npm config set proxy http://your_proxy_url` and `npm config set https-proxy http://your_proxy_url`. You might also need to configure authentication if your proxy requires it.