clashsdk / clash

Public

Release timeline · Core mihomo — hover to see version numbers

Less More

clashsdk / clash / README.md

License MIT Core mihomo Five-platform clients Free forever

Clash Cross-Platform Client Downloads & Docs

Clash is an open-source network proxy client built around rule-based routing, with support for TUN mode and subscription management. This site hosts installers for Windows, macOS, Android, iOS, and Linux, along with setup guides and troubleshooting docs, kept in sync with upstream public releases.

Core startup · terminal output
$ mihomo -d ~/.config/mihomo
INFO[0000] Start initial configuration in progress
INFO[0000] RESTful API listening at: 127.0.0.1:9090
INFO[0000] HTTP(S) proxy listening at: 127.0.0.1:7890
Download Clash View Setup Guide Windows · macOS · Android · iOS · Linux

Cross-Platform Installers

download.html View all clients →

Core Features

docs/features/

Click a filename on the left to open its doc panel on the right — just like browsing markdown files in a repo.

clash / docs / features / rules.md

Rule-Based Routing

Rule-based routing decides which traffic goes through a proxy and which connects directly. Clash matches rules such as DOMAIN-SUFFIX, DOMAIN-KEYWORD, IP-CIDR, and GEOIP in top-to-bottom order from the config file; the first match triggers its action — direct connection, a specific proxy group, or a straight reject.

The usual setup is to subscribe to a community-maintained rule set, then add a few custom rules for specific sites. Client UIs also let you switch between Rule, Global, and Direct modes with one tap. Compared with simple proxy tools that only offer a global on/off switch, rule-based routing keeps local traffic direct and sends cross-border traffic through nodes, giving steadier speed and compatibility. See the rule syntax in the setup guide.

Open-Source Ecosystem & Update Process

docs/project/

Project History

Clash first launched in 2018, written in Go, with rule-based routing as the design that set it apart from similar tools. After the original repo was archived in 2023, the community fork Clash.Meta took over core development, later renamed to mihomo, and it's still actively developed today — protocol support, rule types, and the API have all kept expanding on that foundation.

How the Core and Clients Relate

The core handles protocol implementation, rule matching, and traffic forwarding; GUI clients handle the interface, subscription management, and system integration — a layered relationship. Clients listed here, including Clash Plus, Clash Verge Rev, and FlClash, all bundle the mihomo core, so config formats are interchangeable — switching clients doesn't require touching your config file.

Installer Source & Updates

This site doesn't modify any installer — download links point straight to each project's official public release, and the version number on the download page tracks the latest upstream release automatically, with no manual checking needed. Once upstream ships a new version, both the in-app update prompt and this download page refresh in step, and existing users can just install over the old version to keep their config.

Community Collaboration

Beyond the core and clients, surrounding tools such as rule sets, subscription converters, and GeoIP databases are also maintained as open source by the community, rounding out the full toolchain. Feature issues can be filed on the relevant project's public repo; the docs here focus on install, config, and troubleshooting guidance that complements upstream documentation.

Build the Core from Source
$ git clone https://github.com/MetaCubeX/mihomo.git
$ cd mihomo && go build

Frequently Asked Questions

docs/faq.md

No nodes show up after importing a subscription link?

First confirm the link is in Clash/YAML format, then check whether it needs a subscription converter — full steps are in the setup guide.

Pages still won't load with the proxy on?

Work through it in order: system proxy toggle → node availability → DNS settings. See the step-by-step chapters in Troubleshooting.

How do I install it on iPhone or iPad?

Just install Clash Plus from the App Store — store link and details are in the iOS section of the download page.

So many clients — which one should I pick?

Clash Plus is the top pick for both desktop and mobile; pick Clash Verge Rev if you want more room to tinker. Detailed comparisons are in the selection guide.

Latest Articles

blog/ View all articles →

Fake-IP Mode Explained: How DNS Resolution Gets Intercepted, and When to Turn It On or Off

Starting from the DNS query flow, this explains how Fake-IP speeds up matching and cuts DNS leaks using reserved-range placeholder addresses, contrasts it with Redir-Host, and lists cases like LAN services and game networking where it should be disabled or excepted.

Clash Client Interface Tour: What the Proxies, Profiles, and Logs Tabs Do

A walkthrough of the main client interface section by section: group and node switching on the Proxies tab, subscription management and rule loading on the Profiles tab, and connection-log troubleshooting on the Logs tab — a map of the whole UI for new users.

Clash Subscription Formats Explained: YAML, Base64 Node Lists, and How to Convert Between Them

Breaks down the structural differences between common subscription formats — Clash YAML configs, Base64-encoded node lists, and client-specific formats — explains why some links fail to import, and covers what to watch for when converting safely between formats.