How kr328/clash-premium-installer works
This repository provides a Linux installer and supporting scripts for Clash Premium, with documented full TUN support. The documented user flow is to install dependencies, obtain and extract the Clash core as ./clash, then run ./installer.sh install. Script names indicate supporting TUN, cgroup, proxy-bypass, service, and rule responsibilities, but no source excerpts show how they connect. Accordingly, the graph preserves those components without guessing their call relationships.
Main entry points: installer.sh Installer
Components 12
Installation
- Installer
installer.sh
System support
- Clash service
scripts/clash.service - Default config
scripts/clash-default - Clash rules
scripts/99-clash.rules - Proxy bypass
scripts/bypass-proxy - Bypass PID
scripts/bypass-proxy-pid - TUN setup
scripts/setup-tun.sh - TUN cleanup
scripts/clean-tun.sh - Cgroup setup
scripts/setup-cgroup.sh
Other components
- Operator
- Linux dependencies
- Clash core
Connections 3
- Operator → Linux dependencies: installs
README.md - Operator → Clash core: obtains and extracts
README.md - Operator → Installer: runs install
README.md