DEV Community

Cover image for Set Corporate Proxy on NPM
Abhishek Kumar Singh ⚡️
Abhishek Kumar Singh ⚡️

Posted on • Updated on • Originally published at abheist.com

Set Corporate Proxy on NPM

Please use the following code to set the proxy

npm config set proxy http://username:pass@server.com:port
npm config set https-proxy http://username:pass@server.com:port
Enter fullscreen mode Exit fullscreen mode

Please replace username, password, proxyserver.com and port with your details, it will look something like this:

npm config set proxy http://abhi:hipass@abheist.com:8080
npm config set https-proxy http://abhi:hipass@abheist.com:8080
Enter fullscreen mode Exit fullscreen mode

🙏

Top comments (0)