Open source · Clients for all platforms, updated regularly

Clash Client Downloads & Configuration Guides

Choose a client for your platform. Start with subscription import and rule-based routing, then explore mihomo configuration and connection logs.

Open-source coreGuides in Chinese

Downloads by platform

Clash client ecosystem
  • Clash Verge Rev
  • FlClash
  • Clash Meta for Android
  • mihomo
Core: mihomo
mihomo

Reads YAML configuration and handles proxy protocols, rule matching, and traffic routing.

Open-source license: GPL-3.0
GPL-3.0

The mihomo source code is licensed under GPL-3.0; each client is released under the license specified in its own repository.

Available on 5 platforms
5 platforms

Supports desktop and mobile operating systems. Available clients, installers, and features vary by platform.

CONFIG.YAML

mihomo configuration fields

Follow the traffic flow through the configuration: first check whether the request reaches the core, then see which rule matches and where it routes, and finally confirm which member the proxy group has selected. The code on the right shows sample fields, not a complete subscription.

Rules are matched from top to bottom

In rule mode, mihomo checks rules from top to bottom. Once a rule matches, traffic uses its specified route; mihomo does not continue looking for a more specific match. To route a subdomain differently, put its host-specific exception before a broader domain suffix rule. Save the changes, start a new connection, and compare the destination domain, matched rule, and outbound chain on the Connections page. Existing connections may keep using their original route, so they are not a reliable way to test whether a new rule works.

Read the rules guide
Exact domains and domain suffixes

Use DOMAIN for a specific hostname and DOMAIN-SUFFIX for a domain and its subdomains. Enter a hostname without a scheme, port, or path. A page may request login, image, and API services from different hosts, so a match for the main page does not mean those requests match too. If content fails to load, find the actual host of the failed request in the Connections list, then decide whether to add an exact-match rule or broaden an existing one.

Learn about domain rules
Route for unmatched traffic

MATCH catches requests not handled by earlier rules and belongs at the end of the list. The example on the right uses MATCH,DIRECT, sending unknown destinations directly so you can see how rule order works. Before switching to a proxy group, make sure its name matches the group definition and that it has an available member selected. If the Connections page keeps showing the catch-all rule, check the actual domain and whether the configuration loaded instead of repeatedly switching nodes.

Learn about catch-all rules
mihomo

Configuration › Rule-based routing

config.yaml
rules:  - DOMAIN,blocked.example.org,REJECT  - DOMAIN-SUFFIX,example.org,DIRECT  - MATCH,DIRECT

PLATFORM / PACKAGE

Download Clash clients for your platform

Check your operating system and processor architecture before choosing a client. If you only need to import subscriptions and switch proxy groups, start with a GUI client. For a managed background service, see the mihomo core downloads. Configuration directories and permission handling vary between clients, so keep your existing configuration when switching apps.

Windows

Clash Verge Rev and FlClash both offer desktop interfaces. Check your processor architecture in system information before installing. When migrating from another client, turn off its system proxy first to avoid two apps competing for the same setting. Start in rule mode and confirm that browser connections appear before trying TUN.

Go to downloads Windows clients

Android

The download page lists options such as Clash Meta for Android and FlClash. Choose a package for your device's architecture, grant VPN permission, and check the connection icon. If the connection looks active but apps stop working after the screen turns off, check whether battery management is restricting the client. Avoid running another VPN app during testing.

Go to downloads Android clients

iOS

Open Clash Plus's App Store listing in the iOS downloads section. After importing a configuration, follow the system prompts to add a VPN configuration and check the client's connection status. Desktop system proxy toggles and directory paths do not apply to iPhone. Before migrating, make sure the subscription format works on mobile.

Go to downloads iOS clients

macOS

Check About This Mac to see whether your computer has an Apple chip or an Intel processor, then choose the matching installer. When switching GUI clients, don't overwrite both apps' configuration directories. Import the original subscription and verify one connection first, then migrate local overrides, proxy group selections, and startup preferences one at a time.

Go to downloads macOS clients

Linux

For a desktop environment, start with Clash Verge Rev or FlClash and choose a package listed for your distribution. On a headless machine, run mihomo separately under a service manager. If the service fails to start, check the configuration directory, read permissions for the process user, and whether another process is using the port.

Go to downloads Linux clients

FIRST CONNECTION

Import a subscription and make your first connection

  1. Import and activate a configuration

    Open the client's Subscription or Configuration page and add a configuration by pasting a subscription URL or selecting a local YAML file. After importing, select the configuration so the client actually loads it; seeing it in the list does not mean it is active. If you get a format error, check that the provider supplied a configuration this client can read, rather than a subscription management webpage. Subscription URLs may contain credentials, so don't include them in public screenshots.

  2. Choose rule mode and a route

    Switch the proxy mode to Rule and open the Proxies page to see the groups provided by the configuration. Select a member for manual groups; automatic groups can keep their existing strategy. On desktop, enable the system proxy using the guide. On mobile, follow the system prompts to establish a VPN connection. Use only one traffic-capture method for the first test. Once the basic connection works, compare TUN behavior if needed.

  3. Test with a new connection

    Open a known destination and check its target, matched rule, and route on the Connections page. If the request is missing, check traffic capture first. If it appears but fails, investigate DNS resolution, the proxy group, and the node. After changing the configuration or route, close the old connection and try again so a browser reusing an existing connection doesn't make you think the new rule is working.

UPSTREAM / RELEASES

mihomo source code and client releases

From Clash Meta to mihomo

Clash refers both to an earlier rule-based proxy project and, more broadly, to clients that use similar configuration conventions. mihomo continues development of the Clash.Meta core, retaining the basic YAML rule and proxy group structure while adding protocols and network settings. In older guides, Clash Meta may refer to the core or be part of an app's name. Before following a tutorial, check which core your client uses to see whether its fields, defaults, and toggles apply.

What the core, client, and subscription each do

In a desktop client such as Clash Verge Rev, the interface handles configuration switching, the system proxy toggle, and connection details. mihomo parses the core configuration, matches rules, and establishes outbound connections. A subscription provides configuration or node data; its source, validity, and route availability are determined by the provider. If the app starts but the subscription download fails, check the URL and response content. If nodes are listed but traffic always goes direct, check the operating mode and matched rule. Knowing which layer is responsible helps you report the issue to the right project.

Open-source repository and issue reports

MetaCubeX/mihomo publishes source code, release notes, and issue discussions under the GPL-3.0 license. To investigate core behavior, search by configuration field or an error phrase from logs that contains no sensitive data. When reporting an issue, include the platform, reproduction steps, expected result, and actual result. Keep only the fields that trigger the problem in configuration snippets. Remove subscription URLs, node credentials, and identifiable hostnames, and never post full connection logs.

Check the three types of updates separately

Client updates, core updates, and subscription refreshes are different things. Before updating the client, read its release notes and check whether the update affects the core, permissions, or configuration migration. When refreshing only a subscription, check whether node names, providers, or proxy group members changed. Keep a copy of the last working configuration, then test the same destination after updating before enabling autostart or TUN. If a problem started after an update, noting which layer changed makes it easier to find the cause than reinstalling everything at once.

MetaCubeX / mihomo

Source code › Git

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

This command clones the source repository locally so you can review the implementation and license. To install a GUI client, use the download page. For configuration fields and a getting-started sequence, see the platform guides.

FIELD NOTES

Clash guides

Latency tests, slow-speed troubleshooting, and Linux deployment cover route selection, diagnosing performance issues, and service management. If you use a regular client, start by tracing the connection path. For a background service, read about permissions, directories, and startup configuration.