Open-source clients · mihomo core

Clash Clients Rankings & Downloads

Choose a client by operating system, check core compatibility, then use the config.yaml examples to see how rules route traffic.

  • Open-source code
  • Installation Guide
  • Rules & Log Troubleshooting
config.yamlYAML · Config Example
mixed-port: 7890allow-lan: falsemode: ruleproxy-groups:  - name: Select automatically    type: url-test    proxies: [DIRECT]    url: https://example.com/    interval: 300rules:  - DOMAIN-SUFFIX,example.com,DIRECT  - GEOIP,CN,DIRECT  - MATCH,Select automatically

This example uses only the DIRECT policy to show how rules reference a proxy group. The ports shown are examples; check them against the ports your client actually listens on.

Client Rankings

Platform · Core
  1. Clash Verge Rev
  2. Clash Meta for Android
    Androidmihomo
  3. Clash Nyanpasu
    Windowsmihomo
  4. ClashX Meta
    macOSmihomoDiscontinued

Tags list only the platforms and cores covered on this site. The order is for browsing, not a performance rating.

Source Code · Clients · Config

The Clash open-source ecosystem and the mihomo core

  • Clash
  • MetaCubeX
  • mihomo
  • YAML
  • GPL-3.0

Project history: Clash, Clash.Meta, and mihomo

The Clash ecosystem uses a configuration model where rules evaluate connections and policies determine their outbound route. Clash.Meta was one core fork; it later continued development under the mihomo project name. In older articles, “Clash Meta” may refer to either a core or a client, so identify which one before migrating. Discontinued desktop clients can still help identify the source of an old config, but which systems and cores they run on depends on their release period. Archived builds are not maintained alternatives.

How the community is organized: one format, different client interfaces

Open-source communities maintain the core, graphical clients, and rule resources separately. Desktop clients typically manage subscription lists, tray menus, and connection views; mobile clients also need to work with network permissions provided by the operating system. Even with the same subscription imported on two devices, local overrides, system proxy state, and startup behavior may differ. To sync across devices, share nodes and routing logic, but keep each device’s ports, permissions, LAN exceptions, and traffic interception settings separate.

Compatibility boundaries: assess core fields and system permissions separately

mihomo reads the config, parses rules, and routes connections. The client loads the intended file into the core and requests the permissions required by the platform. A successful import only means the client accepted the file; it does not mean every field is active. When migrating an older config, check the runtime logs first for unsupported fields, missing proxy groups, or unavailable rule resources. Once the config loads, check whether the operating system is sending the target app’s traffic to the client. This order helps distinguish config errors from traffic interception issues.

What gets updated: the app, subscriptions, and rule resources

An app release may change the bundled core, installation requirements, or interface behavior. Refreshing a subscription updates the content provided by its source, while geolocation data and remote rule sets may have their own update schedules. Updating the app is not a substitute for refreshing rules. Before an update, keep a working copy of your local overrides. Afterward, test the same domain and compare the matched rule and actual outbound route. If the result changes, check the active config and rule resources first, then review the release notes for changed defaults or deprecated fields.

mihomo source code

The MetaCubeX/mihomo repository is where to browse the code, license, issues, and release history. Cloning the repository downloads source code; it does not install a client or import a subscription. If you just need a graphical client, go straight to the downloads for your operating system.

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

Find Clash clients by platform

Check your operating system and processor architecture first, then decide whether you need a graphical client or a standalone core. These links take you to the client list for each platform.

Windows

For desktop users who want tray controls and system proxy support. Check your OS version and architecture, then review the installer requirements.

Go to downloads

macOS

For users who manage connections from the menu bar. Choose a build for Apple silicon or Intel, then check OS compatibility.

Go to downloads

Android

For routing mobile app traffic through the system VPN. Choose a package for your device’s supported ABI and approve the VPN permission when connecting for the first time.

Go to downloads

iOS

For users installing from the App Store and connecting through the system VPN. Check that the client supports your subscription format before importing it.

Go to downloads

Linux

Desktop users should choose a package for their distribution. For servers and routers, check the standalone core and processor architecture separately.

Go to downloads

Browse all clients →

What to check before choosing a package or migrating

Package format and processor architecture are separate requirements. Desktop downloads may use package formats for different distributions and architectures for different processors. Mobile devices depend on supported application binary interfaces (ABIs), so the chip model alone does not tell you whether an app will install. Don’t choose a package just because it’s the smallest or has the shortest name. If your device isn’t listed among the graphical client builds, check whether the standalone core supports it, then decide whether you’re comfortable with manual configuration and process management.

If you’re migrating from an older Clash for Windows or ClashX Meta setup, back up the active config, custom rules, and override files first. Save subscriptions you can retrieve again separately from rules you maintain by hand. Before launching the new client for the first time, disable the old client’s system proxy or traffic interception to prevent the two apps from competing for a listening port—or one app from clearing system settings the other is using when it exits. Remove the old app only after confirming the new config loads successfully.

Clients don’t all handle subscriptions the same way. Some leave the original file intact and merge overrides at runtime; others save imported content as a client-managed copy. If a config change has no effect, check the active config’s name and source, then see whether the latest subscription refresh overwrote your changes. Before sharing a config or logs, remove access tokens from subscription URLs, node credentials, and any unnecessary device or network identifiers.

For a reliable test, make a log-enabled app connect and note the test domain, matched rule, and outbound route. Once you’ve confirmed the result, test other apps. If a browser connects but a desktop app doesn’t appear in the logs, first check whether that app uses the system proxy instead of switching nodes right away. Follow the quickstart guide for initial setup. For permissions, traffic interception, and platform-specific details, see the cross-platform user guide.

config.yaml Key Fields

config.yaml / rulesRule Order
mode: rule
rules:
  - DOMAIN,blocked.example.com,REJECT
  - DOMAIN-SUFFIX,example.com,DIRECT
  - GEOIP,CN,DIRECT
  - MATCH,DIRECT

Rule mode checks connections against the list in order; the first matching rule determines where traffic goes. This example rejects a specific host before allowing other domains with the same suffix. Swap the two lines and the host will match the suffix rule first. GeoIP matching depends on the relevant data file and can’t replace precise domain exceptions. Unlike global mode, which sends all traffic through one outbound route, rule mode makes it easier to keep local traffic direct. After editing, check the connection logs to confirm the matched rule, then verify that the final fallback policy is what you expect.

Config troubleshooting: from file to connection

First check whether the core can read the active config. YAML uses spaces for indentation; keep indentation consistent within each list. Proxy group names, node names, and rule references must match exactly. If you rename an item, check every rule that refers to it. A connected status in the interface doesn’t prove routing is complete if subscriptions, rule providers, or geolocation data haven’t loaded. For a parse error, fix the first issue reported in the logs and reload before testing again. That way, you won’t keep testing against a config that never took effect.

Next, check whether traffic interception is working, then whether the outbound route is available. If a test request doesn’t appear in the connection logs, check the system proxy, the app’s own proxy settings, and TUN status. If the request appears but matches the wrong rule, check rule order, mode, and match conditions. If it matches correctly but the connection fails, check the destination, upstream node, or DNS. Change one thing at a time and keep the original config for comparison. Testing the same domain with and without the proxy is more useful for troubleshooting than relying on the latency number in the client interface.

The local proxy port must match the address and port configured in the app using it. For local use only, keep allow-lan: false; don’t enable LAN access just to work around a port conflict. If the logs say the listen address is already in use, stop the duplicate proxy process or change the listening port and update the settings of apps that use it.

Config imported successfully, but there’s no internet—why?
Confirm the active config is enabled, then check whether test requests appear in the connection logs. See the Help Center for more.
Does updating GeoIP update all routing rules?
No. Geolocation data, domain classifications, and remote rule sets come from different sources. See routing rule terminology.
Is the lowest-latency outbound always the fastest?
A speed test measures one request to its test endpoint; it doesn’t reflect application throughput or long-term stability. See the node selection guide for comparison.

Clash Tips & Guides

These three config guides cover how to choose an outbound, interpret node metrics, and manage traffic when running the core on a router.

Advanced

Clash Proxy Groups Explained: url-test vs. fallback vs. load-balance

Compare the three groups’ outbound selection behavior alongside their YAML syntax: choose based on test results, fail over in candidate order, or distribute new connections across multiple members.

For readers with working nodes who are setting up automatic outbound selection. First decide whether your use case requires a fixed outbound, then adjust the test interval and tolerance if needed.

Getting Started

How to Choose Clash Nodes: Latency, Pricing, Location, and Protocols

Evaluate response time to test endpoints, data limits and billing, actual exit location, and protocol support separately. Then rule out nodes that don’t fit your use case.

For readers with several possible outbounds that perform differently in practice. Comparing the same use case at similar times and on the same network is more informative than looking at a single set of speed-test results.

Platforms

Running the mihomo Core on a Secondary Router: OpenWrt Plugins and Docker

Compare the roles of a primary and secondary router, then see how plugins, containers, and standalone binaries differ in network permissions, config directories, and update workflows.

For readers considering a shared routing setup for multiple devices. Before you start, document your current gateway and DNS paths, and plan how to test with just one device.

Browse all articles →

Download Clash