Skip to main content

Posts

Showing posts from December, 2015

Proxy Configuration for Git, NPM, and Bower

If you are in a suck place with proxy, you need to configure proxy setting for your repository and package manager tools such as git, npm, or bower. Git You can use this command to set configuration globally git config --global http.proxy http://username:password@proxy.server.com:8080 git config --global https.proxy https://username:password@proxy.server.com:8080 Command to unset git config --global --unset http.proxy git config --global --unset https.proxy Command to check the value git config --global --get http.proxy git config --global --get https.proxy NPM Command format npm config set <key> <value> npm config get <key> npm config delete <key> npm config list npm config edit Command to set (don't forget to include quote and trailing slash) npm config set proxy "http : //username:password@proxy.server.com:8080/" npm config set https - proxy "http : //username:password@proxy.server.com:8080/" Bo...