Npm 设置 proxy
1 | npm config set proxy http://127.0.0.1:1087 |
Npm 取消 proxy
1 | npm config rm proxy |
Git 设置给特定url设置 proxy
1 | git config --global http.proxy http://127.0.0.1:1087 |
Git 取消 proxy
1 | git config --global --unset http.https://github.com.proxy |
1 | npm config set proxy http://127.0.0.1:1087 |
1 | npm config rm proxy |
1 | git config --global http.proxy http://127.0.0.1:1087 |
1 | git config --global --unset http.https://github.com.proxy |