Skip to content

Instantly share code, notes, and snippets.

@nanusdad
Created August 21, 2013 22:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nanusdad/6301074 to your computer and use it in GitHub Desktop.
Save nanusdad/6301074 to your computer and use it in GitHub Desktop.
Using NPM behind firewall with username and password set
registry = "http://registry.npmjs.org/"
https-proxy = "http://username:secret@proxymain.dns.com:8128/"
proxy = "http://username:secret@proxymain.dns.com:8128/"
registry = "http://registry.npmjs.org/"
strict-ssl = false
// Use "npm config set" commands
@nanusdad
Copy link
Author

proxy-ntlm = true
proxy = http://US\$PUSER:$PPASS@web-dns.com:8128

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment