Clash Ecosystem Guide: mihomo Core and Client Projects
Explore the evolution from the original Clash core through Clash.Meta to mihomo, and see how clients like Clash Verge, FlClash, and Nyanpasu use the core to help you choose by platform.
Original Clash, Clash.Meta, and mihomo
The original Clash is a proxy core. It reads YAML, listens on local proxy ports, and routes connections according to rules. In a configuration, proxies defines proxy nodes, proxy-groups defines policy groups, and rules specifies matching conditions and the selected outbound. Policy groups can contain nodes or other groups; rules refer to outbound names. A typo in a name can prevent the configuration from working as expected, even when all node parameters are correct.
Clash.Meta originated as a Clash fork, adding protocol and configuration support. It is now maintained under the name mihomo. The “Meta core” mentioned in older guides, “Clash.Meta” in project history, and mihomo in newer releases generally refer to the same core lineage. To determine whether an older guide still applies, check its fields against the current core version—not just the filename.
Compatibility works in one direction. Many basic configurations for the original Clash can be used with mihomo; the reverse is not true. Configurations with extended protocols such as type: hysteria2 cannot be used directly with the original core. Even when two clients both say they use mihomo, they may bundle different versions. If you see an unsupported protocol or field error, check the running core version first, then decide whether to switch clients, upgrade the core, or update the configuration.
How clients, cores, and subscriptions fit together
The graphical client manages configuration and system integration; the core handles connections. When you import a subscription, the client fetches its contents, applies overrides using the methods it supports, and passes the resulting configuration to the core. Some desktop frontends send commands through a local control API when you switch policy groups; others use an internal application bridge. A clickable interface does not mean clients share the same process architecture or expose an HTTP control port.
- Subscription layer: A subscription URL is a source of configuration, not a universal file format. The same service may return a full Clash YAML configuration or another format depending on the client request. A full configuration can define policy groups and rules; a standalone list of nodes must be organized into usable policies by the client or an existing configuration.
- Core layer: The core parses the final configuration, handles DNS and rules, and establishes direct or proxied connections. In
Rulemode, rules are matched in the order they are declared, soMATCHis usually placed last. A successful subscription update only proves that the client fetched the content—it does not prove that every rule or node works. - System layer: The system proxy setting provides a proxy address to apps that honor it. TUN uses a virtual interface and routes to capture traffic within its configured scope. Desktop clients may require a service installation or elevated permissions, while Android apps typically use the system VPN interface to capture traffic. Starting the core and establishing a TUN connection are separate checks.
Clash Verge Rev, FlClash, and Nyanpasu compared
A search for “Clash Verge” may turn up both the historical Clash Verge project and its actively developed continuation, Clash Verge Rev. Their release histories are not interchangeable. FlClash and Clash Nyanpasu are separate client projects, not mobile editions or themes for Verge. When comparing release notes, confirm the full project name, then check the installer, core version, and system requirements.
| Project | Core integration | What to check |
|---|---|---|
| Clash Verge Rev | Continues the Clash Verge desktop frontend approach, with the client managing mihomo core startup and configuration. | For Windows, macOS, and Linux. Check configuration override options, service installation permissions, and TUN support on your platform. |
| FlClash | A Flutter-based graphical client that handles traffic using a core from the Clash.Meta/mihomo lineage. | Compare releases for Android, Windows, macOS, and Linux. On mobile, also check VPN permissions and background activity behavior. |
| Clash Nyanpasu | A desktop client project derived from Clash Verge, with the frontend managing supported cores, including mihomo. | For Windows, macOS, and Linux. If your installed version offers a core selector, check which core is currently selected—not just which options are available. |
All three can handle many of the same Clash-format configurations, but their import workflows may differ. Overrides, subscription update schedules, and remembered policy group selections may be stored in a client’s own data directory rather than in the subscription YAML. Copying the subscription URL alone usually transfers the configuration source, not this local state.
Choosing a client for Windows, macOS, Linux, or mobile
On desktop, check architecture and service permissions first
- Windows: Go to Settings → System → About and check System type to distinguish x64 from ARM64. Choose the matching installer from the release page. If you only need a proxy for apps that honor the system setting, test the system proxy first. For TUN, check the client’s service mode and administrator permission requirements.
- macOS: Open Apple menu → About This Mac and check Chip or Processor. Apple Silicon uses arm64; Intel uses x86_64. If the release page offers a universal build, you can choose it as directed. Once the client starts, test the system proxy and TUN separately. A menu bar icon does not prove that traffic is being captured.
- Linux: Use
uname -mto check the architecture, such asx86_64oraarch64. Graphical packages must also match your distribution and runtime dependencies. On a headless server, you can run mihomo standalone. To use TUN, separately check/dev/net/tunand whether the service process has the required network permissions.
Check mobile releases separately
On Android, compare FlClash’s Android release with your device’s architecture. The first time you enable traffic capture, check whether Android prompts for VPN permission. If a work VPN or another proxy app already uses the system VPN, follow your device’s management requirements to resolve the conflict. If connections drop only after the screen locks, check background activity restrictions before rewriting subscription rules. For iOS, verify the selected client’s App Store availability, supported import formats, and actual features separately; desktop or Android releases are no guide to iOS support.
Check core versions and the active configuration when migrating
- Track the two versions separately. Check the app version in the client’s About page, then confirm the core version in the core information or startup log. For a standalone mihomo installation, run
./mihomo -vfrom the directory containing the binary. If it reportsv1.19.0, record that as the core version, not the client version. If you also installed mihomo in a terminal, make sure the binary you checked is the same one the client actually launches. - Keep subscriptions and local overrides separate. Save the subscription URL, custom rules, DNS fields, and policy group selections separately. If the client can export the active YAML, use it to compare the final
mode,rules, anddnssettings. Otherwise, refer to the client’s override settings and startup logs. Before sharing troubleshooting details, remove access tokens from subscription URLs and proxy credentials. - Separate configuration validation from startup checks. For a trusted local copy of a configuration, run the command below from the directory containing the mihomo binary and
profile.yaml.-ttests the configuration,-dsets the working directory, and-fspecifies the configuration file. If you use a separate test directory, check that any external rule resources referenced by the configuration are available. Passing the test does not confirm TUN permissions, port availability, or connectivity to remote hosts. - Test rules and traffic capture separately. Fully quit the old client first and make sure its background service is no longer using ports required by the new client. After the new client starts, use
Rulemode to visit a domain expected to match a specific policy group, then check the connection log for the matched rule and actual outbound. Next, test with an app that does not use the system proxy to see whether TUN is needed. Change one setting at a time to distinguish port conflicts, unmatched rules, and traffic capture failures.
mkdir -p ./mihomo-check
./mihomo -t -d ./mihomo-check -f ./profile.yaml
If you only need to keep using a subscription, first confirm that the target core can parse its node protocols and rule fields. To preserve your existing routing behavior, compare overrides and policy groups next. If you need to capture traffic from apps that ignore the system proxy, verify system permissions and routing separately. Working through these layers helps pinpoint issues without blaming an entire client project for a failed migration.