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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay