Installer and command-line manager for the mihomo (Clash) proxy core on Linux
open sourceMITfree
clashctl (formerly clash-for-linux-install) is an open source shell tool that installs and manages the mihomo proxy core on Linux in one step, along with a web panel and its dependencies. Its clashctl command turns the proxy on or off for the current terminal, starts and stops the core, adds, switches and updates subscriptions (converting their format with subconverter), picks nodes, enables TUN mode and Mixin configuration, shows logs and upgrades the core. It works for root and ordinary users, in containers, with systemd or OpenRC, and in Bash, Zsh and Fish.
Problems it solves
- set up a Clash or mihomo proxy on a Linux server from the command line
- turn a proxy on and off for my current terminal on Linux
- manage proxy subscriptions on a headless Linux box
Features
- one-step mihomo install with a web panel
- per-terminal proxy on and off
- subscription management with subconverter
- TUN mode and Mixin configuration
- systemd and OpenRC support
Limitations
- Linux only.1
Alternatives
The same job
These do what clashctl does.
- ShellCrash Shell script that deploys and manages the mihomo and sing-box proxy cores on routers and Linux machines
- v2rayA Browser-based proxy client on its own Xray-based core, with transparent proxy on Linux, Windows and macOS
- OpenClash LuCI plugin that runs and manages the Mihomo (Clash Meta) proxy core on OpenWrt routers
- FlClash Multi-platform Clash Meta (mihomo) proxy client for Android, Windows, macOS and Linux
- mihomo (Clash Meta) Rule-based proxy kernel, the Clash Meta core, with VMess, VLESS, Shadowsocks, Trojan, TUIC and Hysteria support
- Clash Verge Rev Desktop GUI for the Clash Meta (mihomo) proxy core
