mihomo core · Clients for every platform

Clash Meta Download

Choose a client for your OS, use the mihomo core to handle routing rules, then verify the connection against configuration examples.

  • Core Source Code
  • Subscription Configuration
  • Chinese Documentation

MIHOMO CORE

mihomo Core Configuration Options

Choose an outbound based on the first matching rule

In rule mode, the core checks rules from top to bottom and stops at the first match. Put domain-specific exceptions before broader rules, then use a final MATCH rule to handle everything else. Unlike global mode, which sends all connections through one global proxy group, rule mode can route different destinations through different outbounds. To troubleshoot, check the destination and matched rule in the connection details, then see which node the rule's proxy group selected. The proxy groups in the example must be defined in the same configuration. If a group name doesn't match, fix the reference before reloading.

rules:
  - DOMAIN,example.com,DIRECT
  - DOMAIN-SUFFIX,example.org,PROXY
  - MATCH,DIRECT
Core Name
mihomo
Core License
GPL-3.0
Client Downloads
5 Platforms

CLIENT PACKAGES

Choose a Clash Client for Your OS

Check your OS and architecture first, then compare package formats and traffic-routing options.

The same subscription may show the same proxy groups on different devices, but import flows, configuration directories, and required permissions vary by platform. Before choosing a package, check your OS version and CPU architecture, then review the platform notes. For importing subscriptions on a personal device, start with a client that has a graphical interface. The standalone core is better suited to users who are comfortable managing configuration paths, process lifecycles, and logs themselves. If you already have a working setup in an older client, export the original configuration and local overrides before switching. Don't treat the cache directory as a configuration backup.

Windows

Check the system type on your OS's About page, then choose the package marked for it on the download page. Once the system proxy is active, a browser that respects system proxy settings is a good first test. For apps that don't use those settings, evaluate TUN separately. Before switching clients, quit the old one and confirm that the system proxy has been restored to avoid conflicts over local listening ports. If a Microsoft Store app behaves differently from your browser, treat it as an app-specific traffic-routing difference before changing domain rules.

Go to Downloads

Android

Choose a package based on your device's ABI. If you're unsure, select a universal package only if one is listed on the download page. On the first connection, you'll usually need to approve the system VPN request. If another app using the same system interface is already connected, check the active VPN before switching. A connection dropping after the device goes idle and a failed import are different issues: for the former, check background activity and battery settings; for the latter, verify the configuration format, fetch result, and whether the configuration is selected.

Go to Downloads

iOS

Use the download page to open the store listing and check the system requirements and supported devices. When the client sets up a network tunnel for the first time, follow the system prompt to approve it, then return to the app and check the configuration and active proxy group. Before moving a desktop configuration to your phone, check which fields the client supports. Settings that depend on desktop paths, external scripts, or local rule files usually won't transfer as-is. Start with a minimal configuration to verify the connection, then add custom rules. This avoids troubleshooting permissions, file paths, and outbound routing all at once.

Go to Downloads

macOS

Check About This Mac to see whether you have an Apple silicon or Intel processor, then choose the matching build. After opening the client, check whether the network service you're using has applied the system proxy settings. If you have multiple network interfaces, don't assume the settings for one apply to all of them. If you enable enhanced traffic routing, follow the client's prompts to approve any helper service and permissions. If an upgrade leaves the old configuration in place but traffic routing stops working, check permissions and listening status first, then decide whether to restore your previous configuration.

Go to Downloads

Linux

Choose a build based on your distribution's package manager and CPU architecture. Desktop users can start by testing a subscription in a GUI client; consider running the core separately for server or router use. Terminal apps don't necessarily inherit desktop proxy settings, and a service process may use a different environment and working directory from an interactive terminal. If it works when run manually but fails as a service, compare the user account, absolute configuration path, and logs. Reinstalling repeatedly won't replace these checks.

Go to Downloads

Browse all clients Compare clients

FIRST CONNECTION

Import a Subscription and Connect for the First Time

  1. 01 / Import and activate a configuration

    Add a link or local YAML file on the Configuration or Subscription page. Once the import is complete, set it as the active configuration, then check the proxy group page to confirm that the groups and nodes appear. If you only see the configuration name, the client has saved the source, but that doesn't mean the core has loaded the downloaded content.

    If the first update fails, determine whether the link request failed or the client received content it couldn't parse. For a failed request, check the network and link status. For a parsing error, check the content actually returned and the client's import requirements. Enter subscription links containing access credentials only on your own device; don't post them in public tickets or screenshots.

  2. 02 / Choose an outbound mode and test a node

    Start with rule mode, then manually select a known-working node in the proxy group that handles your test destination. Enable one traffic-routing method supported by your system. On desktop, start with the system proxy; there's no need to enable TUN for your first test.

    A successful latency test only shows that the node completed that particular probe. If the target site still won't load, keep the test URL and traffic-routing method the same, and switch one node at a time. This helps distinguish node issues from changes to system settings, instead of leaving you unsure which change made a difference.

  3. 03 / Verify the result in connection details

    Open a site that should use the proxy, then one that should connect directly. In the connection view, check the destination, matched rule, and actual outbound. A page loading doesn't prove that its traffic went through the proxy. For a fresh test, create a new connection so an existing one doesn't keep using its previous outbound.

    If no new connection appears, check the traffic-routing scope and the app's own network settings. If a connection appears but uses the wrong outbound, check the rule order, then the proxy group's current selection. If the matched rule and outbound are correct but the site still won't load, use the logs to distinguish a DNS issue from a connection or handshake failure.

Read the full guide

UPSTREAM & RELEASES

mihomo Source Code and Client Maintenance

Project History: From Clash Meta to mihomo

mihomo continues the Clash.Meta core project. Older guides often use “Clash Meta” to refer to both the core and the GUI apps that run it. When you see the name today, check whether the documentation is discussing configuration syntax or a particular client's menus. The original Clash, Clash for Windows, and mihomo are not the same project or upgrade target. When migrating, the most useful assets are usually the original YAML, your own rules, and a reproducible test procedure. Handle window settings, system service records, and subscription caches left by the old app separately; they won't necessarily carry over to a new one.

Open-Source Ecosystem: Report Issues to the Right Maintainers

The mihomo core is released under GPL-3.0. Its public repository contains source files, change history, and issue discussions. GUI clients have their own maintainers, distribution channels, and license terms; the core's license doesn't mean every interface uses the same one. When reporting an issue, first check whether you can reproduce it without the GUI. If the core also fails to load the same configuration, collect the parsing logs. If the issue only occurs after clicking a particular button, document the steps in the client. When sharing reproduction materials, keep the failing field, indentation, and surrounding context, but remove subscription URLs, node credentials, and unrelated personal network details.

Where Responsibilities Differ: The GUI May Rewrite the Runtime Configuration

The core parses rules, handles DNS, and establishes connections. The client also downloads configurations, manages the system proxy, requests network permissions, and displays logs, connections, and proxy selections. Some clients write settings from their home screen into the generated runtime configuration, so editing the original subscription file may not change the port currently in use. To track down a discrepancy, inspect the original subscription, client overrides, and actual runtime state separately. If a change needs to persist after a subscription refresh, use an override option supported by the client rather than mixing local settings into content that gets replaced on every update.

Updates: Check the Client, Core, and Subscription Separately

Client releases may include upstream core fixes at different times, while subscription updates can independently change nodes, rule providers, or group names. Before upgrading, note a connection you can reliably retest and back up your local overrides. After upgrading, test the existing configuration once before refreshing the subscription. Doing both at once makes it harder to tell whether a problem came from the new app, core behavior, or configuration changes. If a selected node disappears after a refresh, choose a new one. If a group referenced by a rule was renamed, check that the reference was updated too; don't rely only on the subscription's last-updated time.

FIELD NOTES

Subscription Formats and Connection Troubleshooting

Choose a guide based on where the problem occurs: verify the input format before importing, check app and core logs if startup fails, and review system restrictions only when specific apps bypass the proxy.

Browse all articles