Setting npm proxy settings
Pretty simple really, I came across this post by @wboayue showing how to set proxy settings for npm.
2 Simple commands really
npm config set proxy http://proxy.company.com:8080
npm config set https-proxy http://proxy.company.com:8080
Additionally if you need to pass in user / password configs it can be done like so:
http://user_name:password@proxy.company.com:8080
Easy as! Thanks Wil Boayue
Written by Ezekiel Kigbo
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Config
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#