Created
March 18, 2021 13:07
-
-
Save sunbuhui/8f5b2af4f5a7fa82d3c8a7a7828691dc to your computer and use it in GitHub Desktop.
How to set http or https proxy to use shadowsocks in mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ShadowsocksX-NG现在已经支持一键开启http代理了,只需要在mac的terminal里设置一下就好。 | |
export http_proxy='127.0.0.1:1087' | |
export https_proxy='127.0.0.1:1087' |
If you want to unset these proxys,use below three commands.
unset http_proxy
unset https_proxy
unset ALL_PROXY
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
export ALL_PROXY=socks5://127.0.0.1:portnumber