-
-
Save Missmiaom/80be6d7a27d14bcf98e9d02ebe2ad23b to your computer and use it in GitHub Desktop.
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
# shadowsocksr-cli | |
https://github.com/TyrantLucifer/ssr-command-client/tree/master | |
## doc | |
https://github.com/TyrantLucifer/ssr-command-client/blob/master/README_CH.md | |
## usage | |
``` | |
shadowsocksr-cli --setting-url <subscribe_url> | |
# 更新订阅 | |
shadowsocksr-cli -u | |
# 打印节点列表 | |
shadowsocksr-cli -l | |
# 开启 socks5 代理 | |
shadowsocksr-cli -s <id> | |
# 转换为 http 代理 | |
shadowsocksr-cli -p 1080 --http start --http-proxy-port 7890 | |
# 快捷命令 | |
alias setproxy="export ALL_PROXY=socks5://127.0.0.1:1080" | |
alias unsetproxy="unset ALL_PROXY" | |
alias ip="curl http://ip-api.com/json/?lang=zh-CN" | |
alias sethttpsproxy="export HTTPS_PROXY=http://127.0.0.1:7890" | |
alias unsethttpsproxy="unset HTTPS_PROXY" | |
# 设置 git 代理 | |
git config --global http.proxy 'socks5://127.0.0.1:1080' | |
git config --global 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