Simple clash premiun core installer with full tun support for Linux.
-
Install dependencies git, nftables, iproute2
-
Clone repository
git clone https://github.com/tom-snow/clash-premium-installer.git cd clash-premium-installer
-
Download clash core link
-
Extract core and rename it to
./clash
(the clash core should in the 'clash-premium-installer' folder) -
Edit
./scripts/clash.service
and set yourCLASH_URL
(note that subscribe address shouldn't have "&" symbol, if it have, you should convert it to a short url) -
Run Installer
./installer.sh install
If you do not set clash subscribe link or want to change clash subscribe link, Please edit /usr/lib/systemd/system/clash.service
. When finished please run systemctl daemon-reload