Open-source ecosystem · clients updated continuously across platforms

Clash for Linux Client Download & Install Commands

Clash client downloads for every platform plus a Linux install command reference, built on the Mihomo core and covering Ubuntu / Debian / Fedora / Arch, with English-friendly docs for subscription import, rule-based routing, and TUN mode.

$sudo apt install ./clash-verge_2.3.2_amd64.deb $sudo dpkg -i clash-verge_2.3.2_amd64.deb $sudo dnf install ./clash-verge-2.3.2-1.x86_64.rpm $yay -S clash-verge-rev-bin
mihomo core GPL-3.0 open source amd64 / arm64 deb / rpm / AUR
man 1 clash

Core features, browsed like a man page

Entry numbers on the left, explanations and real config snippets on the right. Every item maps to something you can drop straight into config.yaml, not just marketing talk.

Rule-based routing

Rule-based routing answers the core question of which traffic goes through the proxy and which connects directly. Clash matches the rules list top to bottom: you can write rules by domain suffix, exact domain, IP range, GeoIP region, process name, and more, with the first match winning and MATCH as the catch-all at the end. Compared to maintaining a whitelist by hand in a browser extension, rules live in a config file that ships with your subscription and works across every device — local traffic stays direct, traffic that needs to go abroad routes through the right exit node, and neither latency nor bandwidth is wasted. Rules are plain one-line-per-entry text, and troubleshooting is just a matter of checking the rule match entries in the logs.

rules:
  - DOMAIN-SUFFIX,github.com,PROXY
  - DOMAIN-SUFFIX,cn,DIRECT
  - GEOIP,CN,DIRECT
  - MATCH,PROXY

quickstart --preview

Three steps to your first connection

This is a condensed preview of the full setup guide. From install to verification, a fresh machine usually takes under ten minutes.

01

Install the client

Grab the installer that matches your system from the download page: Linux users can pick deb / rpm for their distro or go through the AUR, while other platforms can download the installer directly or get it from an app store. On first launch after installation, the client generates a default config in your user directory.

02

Import your subscription

Copy the subscription link from your provider and paste it into the client's config page to import. Once it succeeds, the node list and proxy groups appear automatically; if parsing fails, first check whether the link opens directly in a browser and returns YAML text.

03

Turn on the proxy and verify

Switch the proxy mode to Rule, turn on the system proxy toggle, pick an available node in a proxy group, then visit a site outside your region to confirm it works. For a command-line check, use curl against the 127.0.0.1:7890 port directly.

View the full guide →

git log --oneline

Built on open code

From the core to every client, this toolchain is developed in public repositories — every commit, issue, and release is there for anyone to check.

Project history

Clash started out as a rule-based proxy core written in Go, and its clean YAML config format and flexible proxy group system made it the de facto standard among tools of its kind. When the original repository was archived, the config format and ecosystem didn't die with it — the community kept building on top of it, leading to today's setup: the Mihomo core paired with several actively maintained GUI clients.

How the core and clients relate

Think of the core as the engine and the client as the dashboard: Mihomo handles protocol implementation, rule matching, and traffic forwarding, while clients like Clash Verge Rev, FlClash, and Clash Meta for Android handle subscription management, the UI, and system integration. Because they all share the same config format, a single subscription can move between clients on different platforms without any changes.

Open-source ecosystem

The core and mainstream clients are all released under free software licenses such as GPL-3.0, with code hosted on public platforms where anyone can review the implementation, file issues, or build from source. Release builds are compiled automatically by each repository's CI pipeline, with every version tied to a matching source tag — that's the baseline that makes recommending them possible.

Update cadence

The core and each client ship on independent release schedules: the core tracks protocol changes and new rule types, while clients track UI and platform updates. Links on this site's download page always point to each project's latest release rather than a pinned old version; rule databases like GeoIP and GeoSite are also updated automatically by the core on a configurable schedule, with no manual file swaps required.

git clone https://github.com/MetaCubeX/mihomo.git

grep -i question

Top FAQs

The four questions new users get stuck on most often, answered in a sentence, with the full explanation in the linked doc.

How does Mihomo relate to Clash?

Mihomo is the actively maintained core fork of the Clash ecosystem, compatible with the original config format, and it's what mainstream clients run on under the hood. See the glossary for more detail.

Subscription import keeps failing — what now?

First confirm the link opens in a browser and returns YAML text, then work through link, format, and syntax issues in order — the steps are in the setup guide.

Port 7890 already in use, so startup fails?

Use ss or lsof to find the process holding the port, decide whether to kill it or change mixed-port instead, and remember to update your system proxy settings after changing the port — details in the full manual.

What permissions does TUN mode need?

On Linux, the kernel needs CAP_NET_ADMIN or the client needs to run as a privileged service — most GUI clients offer one-click authorization. Setup steps are in the full manual.