👋
Welcome to my blog!

Set Corporate Proxy on NPM

Configure your NPM to work seamlessly behind a corporate proxy with practical setup guide.

Set Corporate Proxy on NPM
NPM

Published At

9/23/2020

Reading Time

~ 1 min read

Please use the following code to set the proxy

shell
npm config set proxy http://username:pass@server.com:port
npm config set https-proxy http://username:pass@server.com:port
shell
npm config set proxy http://username:pass@server.com:port
npm config set https-proxy http://username:pass@server.com:port

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

shell
npm config set proxy http://abhi:hipass@abheist.com:8080
npm config set https-proxy http://abhi:hipass@abheist.com:8080
shell
npm config set proxy http://abhi:hipass@abheist.com:8080
npm config set https-proxy http://abhi:hipass@abheist.com:8080

🙏

Do you have any questions, or simply wish to contact me privately? Don't hesitate to shoot me a DM on Twitter.

Have a wonderful day.
Abhishek 🙏

Join My Exclusive Newsletter Community

Step into a world where creativity intersects with technology. By subscribing, you'll get a front-row seat to my latest musings, full-stack development resources, and exclusive previews of future posts. Each email is a crafted experience that includes:

  • In-depth looks at my covert projects and musings to ignite your imagination.
  • Handpicked frontend development resources and current explorations, aimed at expanding your developer toolkit.
  • A monthly infusion of inspiration with my personal selection of quotes, books, and music.

Embrace the confluence of words and wonder, curated thoughtfully and sent straight to your inbox.

No fluff. Just the highest caliber of ideas.