This angular article addresses the following topics: How to create angular application How to create angular service How to integrate external API with angular service How to create angular component How to integrate angular service with angular component How to…
How to set proxy for git, npm, windows, linux and mac OSX
Objective: In this blog, a quick overview to set the proxy for different operating systems and software like git, npm etc. Window Command Prompt
1 2 3 |
set HTTP_PROXY=https://[username:password]@[proxyserver]:[port] set HTTPS_PROXY=%HTTP_PROXY% |
Linux Command Prompt
1 2 3 |
export HTTP_PROXY=https://[username:password]@[proxyserver]:[port] export HTTPS_PROXY=$HTTP_PROXY |
Mac OSX Command Prompt
1 2 3 |
export HTTP_PROXY=https://[username:password]@[proxyserver]:[port] export HTTPS_PROXY=$HTTP_PROXY |
NPM Command Prompt
1 2 3 |
npm config set proxy https://[username:password]@[proxyserver]:[port] npm config set https_proxy https://[username:password]@[proxyserver]:[port] |
GIT Command Prompt
1 2 3 |
git config --global http.proxy https://[username:password]@[proxyserver]:[port] git config --global https.proxy https://[username:password]@[proxyserver]:[port] |