Below you will find, how to set a proxy for Node/NPM by using an .npmrc file.
cat .npmrc
1 2 3 4 |
proxy=http://user:passsword@host.domain.com:8080/ https-proxy=http://user:passsword@host.domain.com:8080/ strict-ssl=false registry=http://registry.npmjs.org/ |
Leave a Reply