Skip to content

Instantly share code, notes, and snippets.

@1c7
Last active July 8, 2018 07:58
Show Gist options
  • Select an option

  • Save 1c7/d1e2a93dc5f0410eb800a008e217c1fe to your computer and use it in GitHub Desktop.

Select an option

Save 1c7/d1e2a93dc5f0410eb800a008e217c1fe to your computer and use it in GitHub Desktop.
Command line proxy
```bash
set http_proxy=http://127.0.0.1:1080;export https_proxy=http://127.0.0.1:1080;
```
@1c7

1c7 commented May 8, 2018

Copy link
Copy Markdown
Author

2018-5-8 this work for me
I was trying to build a Electron v2.0.0 app that I wrote.
and npm run dist is slow
image
after run this, now download would though proxy.
it's a lot faster now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment