Skip to content

Instantly share code, notes, and snippets.

@aashishrbhandari
Created June 19, 2023 07:02
Show Gist options
  • Save aashishrbhandari/ca2cb8d2f52a538cecc1572797040e27 to your computer and use it in GitHub Desktop.
Save aashishrbhandari/ca2cb8d2f52a538cecc1572797040e27 to your computer and use it in GitHub Desktop.
## Change the Variable IP and Port with the respective Proxy IP and Port.
IP="1.1.1.1"
PORT=3456
## Tells the NPM to use proxy when downloading packages
npm config set proxy http://$IP:$PORT
npm config set https-proxy http://$IP:$PORT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment