Skip to content

Instantly share code, notes, and snippets.

@sreepurnajasti
Created June 29, 2018 11:01
Show Gist options
  • Save sreepurnajasti/8929f48820b68ae43676e9e72715bd62 to your computer and use it in GitHub Desktop.
Save sreepurnajasti/8929f48820b68ae43676e9e72715bd62 to your computer and use it in GitHub Desktop.
npm proxy settings
For setting proxy:
npm config set strict-ssl false
npm config set registry http://registry.npmjs.org/
npm config set https-proxy http://un:pw@proxyadd:port/
npm config set proxy http://un:pw@proxyadd:port/
For removing proxy:
npm config rm proxy
npm config rm https-proxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment