loading...
Cover image for Set Corporate Proxy on NPM

Set Corporate Proxy on NPM

abheist profile image Abhishek Kumar Singh ⚡️ ・1 min read

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

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

🙏

Discussion

markdown guide