-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
终端代理配置指南 #270
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
macOS & Linux
通过设置 http_proxy、https_proxy,可以让终端走指定的代理。 配置脚本如下,在终端直接执行,只会临时生效:
8899
是 http 代理 Whistle 对应的端口,请根据你的实际情况修改。Windows
以下代理生效情况均使用
curl -I http://www.google.com
进行验证。Git Bash
设置方法同 "macOS & Linux"
PowerShell
cmd
注意:在 Windows 下使用全局代理方式不会对 cmd 生效
其他代理设置
git 代理
npm
参考
The text was updated successfully, but these errors were encountered: