Back up your current subscription and local overrides before switching clients. Browse the complete installation guide →

Configuration handoffKnow the difference between the core, client, and subscription. The core handles traffic, the client manages it, and the subscription provides configuration.

Browse the glossary →

mihomo · Core and clients

Clash Core HubClash Client Downloads

Choose a compatible client for your device, start by importing your subscription, then configure the system proxy or TUN as needed.

  • Open-source core
  • Chinese configuration docs
  • Installation guides for five platforms

01 / CONFIG.YAML

mihomo configuration checks

First check how traffic reaches the core, then see how rules select an outbound. These snippets explain individual settings; they are not a complete subscription. The ports and control address shown above are examples, not defaults for every client.

Check routing rules in order

Rule mode sends different destinations through different outbounds. The core checks rules from top to bottom and uses the outbound for the first matching rule. Put specific domain exceptions before broader rules, then use MATCH to catch the remaining traffic. This example demonstrates syntax only, so the fallback is set to DIRECT. To test it, open a new request in the client’s connection list and check the matched rule and actual outbound; an existing connection may not reflect your changes.

mode: rule
rules:
  - DOMAIN-SUFFIX,example.com,DIRECT
  - MATCH,DIRECT

Common pitfall: Put MATCH first and none of the rules below it will get a chance to match.

Three things to check after startup

Configuration: Importing successfully doesn’t mean it’s active
Check which file is selected in the configuration list, then open the proxy groups page and confirm the target group is there. If a subscription refresh changes group names, check any local rules that still refer to the old names. To learn where these names come from, start with the glossary.
Traffic entry: A running core doesn’t mean app traffic is routed through it
Open an ordinary webpage in your browser, then check whether a new connection appears in the connection list. If there’s no record, confirm that the browser uses the system proxy or test whether its traffic goes through TUN. Changing proxy groups usually won’t help yet because the request hasn’t reached the core.
Outbound: Once a connection appears, check its rule and proxy group
Check the matched rule first, then the outbound actually used. If the result is unexpected, note the test destination and matched rule, change one setting, and retry with a new request. Comparing the two results makes troubleshooting easier than simply noting that something won’t connect.

02 / CLIENTS

Choose a Clash client for your operating system

For everyday use, choose a client with a graphical interface. Consider running the core separately only if you already have a way to manage services and maintain configuration. Confirm your operating system and processor architecture first, then test with just one traffic-handling method enabled.

Windows

On desktop, check the system type in the About page. When switching from an older client, quit its process before enabling the new client’s system proxy to prevent both clients from competing for the same port or repeatedly changing system settings.

macOS

Check About This Mac to see whether your device has an Apple silicon or Intel processor, then choose the matching package. Start by testing the system proxy; grant TUN permissions as prompted by the client if you need to cover more traffic.

Android

Choose a package that matches your device’s supported architecture. After importing the configuration, approve the system VPN permission when prompted. If the connection drops when the screen locks, check whether the client service has stopped, then see whether the system restricts background activity.

iOS

Open the App Store from the download page and choose a client that supports your subscription format. When connecting for the first time, follow the system prompt to add a VPN configuration. Desktop client menus and override files may not transfer directly.

Linux

On desktop, filter packages by distribution and architecture, and don’t mix package formats. Whether a desktop proxy works depends on how each app reads system settings; on headless machines, managing the core process separately may be a better fit.

Before switching devices: Keep separate copies of your subscription URL, local configuration, overrides, and any extra rule files. Subscription URLs may contain access credentials, so don’t include them in shared screenshots or public posts. If you need help troubleshooting, share only configuration snippets with sensitive details removed. On the new device, first confirm that the subscription loads, then restore overrides one at a time. For permission or package-selection issues, check the relevant platform section in the complete installation guide.
Browse all clients →

03 / UPSTREAM

mihomo source repository and project scope

Clash Core Hub collects download links and Chinese configuration resources; it is not an upstream project publisher. For core source code, licensing, and change history, refer to MetaCubeX’s public repository. For client installation and interface behavior, consult each client’s release notes.

Project history: Clash Meta and mihomo

Older guides often refer to the core as Clash Meta. When you see that name, check whether the article covers core configuration or a specific client’s interface. Older guides can still help explain rules and proxy groups, but menu paths, supported fields, and default behavior may differ. For a safe migration, start with a configuration containing only essential settings and confirm it launches. Then restore old rule sets, DNS exceptions, and local overrides in stages. If an error occurs, you can narrow it down to the latest change.

Open-source ecosystem: Troubleshoot with source code, docs, and issues

The mihomo repository makes its source code and GPL-3.0 license public. To check whether a configuration option is supported, read the relevant documentation, then review the public change history. If behavior differs, search the issue tracker for the error text to see whether anyone has reported it in a similar environment. When filing a report, include your operating system, traffic-handling method, minimal configuration, and logs that are safe to share. Never submit raw subscription links, control API credentials, or full configurations containing private domains. Core-level issues are worth prioritizing when they can be reproduced consistently across multiple clients.

Configuration flow: The client builds the final configuration

A subscription file is input; it may not be the file the core actually reads. The client may also merge local overrides or add ports, DNS settings, and a control address based on its interface options. For example, the mixed port shown here is 7890; if your local setting differs, use the port that is actually listening. When troubleshooting, compare the effective configuration or startup log before deciding whether to change the subscription, an override, or a client option. A setting available only in the client interface may not transfer with the subscription. Conversely, the core supporting a key doesn’t mean every client offers a corresponding control.

Updates: Check the app, core, and subscription separately

A client update may replace the core as well as the interface, or change only the interface and integration logic. Refreshing a subscription usually updates configuration content only. When something changes, note what you did last and identify which layer it affected. Before updating, keep a working copy of your configuration and overrides. Afterward, test one direct connection and one proxied connection in the same app, using the same destination. If both fail, first check whether the traffic entry point is still listening. If only one fails, check rule order and proxy groups. There’s no need to change clients, reload the subscription, and enable TUN all at once to diagnose a single issue.

04 / NOTES

Clash configuration and migration notes

Find guidance for the task at hand: replacing a discontinued client, sharing a proxy with LAN devices, or importing a subscription on iOS for the first time.

Browse all articles →