DEV Community

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

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

4 1

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)

nextjs tutorial video

📺 Youtube Tutorial Series

So you built a Next.js app, but you need a clear view of the entire operation flow to be able to identify performance bottlenecks before you launch. But how do you get started? Get the essentials on tracing for Next.js from @nikolovlazar in this video series 👀

Watch the Youtube series

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay