Skip to content

Instantly share code, notes, and snippets.

@a1exlism
Last active February 28, 2018 08:50
Show Gist options
  • Select an option

  • Save a1exlism/4954d686d5e6e05503873f710ecb4f59 to your computer and use it in GitHub Desktop.

Select an option

Save a1exlism/4954d686d5e6e05503873f710ecb4f59 to your computer and use it in GitHub Desktop.
git config --global http.proxy 'socks5://127.0.0.1:1080'
git config --global https.proxy 'socks5://127.0.0.1:1080'
npm config set proxy http://<username>:<password>@<proxy-server-url>:<port>
npm config set https-proxy http://<username>:<password>@<proxy-server-url>:<port>
npm config set proxy 'socks5://127.0.0.1:1080'
npm config set https-proxy 'socks5://127.0.0.1:1080'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment