npm config set proxy http://10.32.0.1:8080
npm config set https-proxy http://10.32.0.1:8080
git config --global http.proxy [http://(http://proxyuser:[email protected]:8080/)
Set Proxy in node.js npm Module
The command to set the proxy are
npm config set proxy http://10.32.0.1:8080 npm config set https-proxy http://10.32.0.1:8080
git config --global http.proxy http://10.32.0.1:8080 git config --global https.proxy http://10.32.0.1:8080
npm config rm proxy npm config rm https-proxy
git config --global --unset http.proxy git config --global --unset https.proxy
git config --global --list npm config get list npm config get proxy npm config get https-proxy