Skip to content

Instantly share code, notes, and snippets.

@cosemansp
Last active August 29, 2015 14:06
Show Gist options
  • Save cosemansp/9a595b3e29deb94d8440 to your computer and use it in GitHub Desktop.
Save cosemansp/9a595b3e29deb94d8440 to your computer and use it in GitHub Desktop.
Bower & Node after proxy server
npm config set proxy <your proxy server address:port>
npm config set https-proxy <your proxy server address:port>
npm config set registry=http://registry.npmjs.org/
git config --global url."https://".insteadOf git://
set http_proxy=<your proxy server address:port>
set https_proxy=<your proxy server address:port>
or create .bowerrc
{
"directory": "bower_components",
"proxy":"http://http.proxy.fmr.com:8000",
"https-proxy":"http://http.proxy.fmr.com:8000"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment