clash for linux 一键使用
- 切换到.config文件夹
cd ~/.config
- 下载clash文件
git clone https://github.com/herobrine19/clash.git
cd clash
- 根据订阅链接(假设为
https://xxx
)下载yaml文件wget https://xxx\&client\=clash -O config.yaml
- 运行clash
./clash
- 设置系统代理
export http_proxy=http://127.0.0.1:7890 https_proxy=http://127.0.0.1:7890 all_proxy=socks5://127.0.0.1:7890
- 测试是否连上
curl -I www.google.com