Add the Clash VPN for Linux Terminal
作者:XD / 发表: 2023年6月30日 10:54 / 更新: 2023年6月30日 11:08 / 编程笔记 / 阅读量:2110
Add the Clash VPN for Linux Terminal.
git clone https://github.com/wanhebin/clash-for-linux.git # or download zip repo and unzip it.
cd clash-for-linux
vim start.sh
URL=${CLASH_URL:?Error: CLASH_URL variable is not set or empty} # update your Clash subscribe in start.sh, for example [https://25920435.ghelper.me/subs/clash/666xxx]
sh start.sh # or type: bash start.sh
source /etc/profile.d/clash.sh
proxy_on # proxy_off
sh shutdown.sh