mihomo core · clients for every platform

Clash Client Downloads& Configuration Tips

Choose a package for your platform, then follow the examples to set up subscription imports and rule-based routing.

  • Proxy Groups
  • DNS & Fake-IP
  • TUN Mode
  • Coremihomo
  • Core licenseGPL-3.0
  • Platforms5
  • Config formatYAML

Downloads

Clash Client Downloads

Check your device’s OS and processor architecture before choosing a client. On desktop, start by testing the system proxy; on mobile, make sure the client has VPN permission.

Windows

In Settings → System → About, check whether your processor is x64 or ARM64 and download the matching package. For a first test, enable the system proxy and verify the browser’s outbound connection in the client.

Go to Downloads

macOS

In About This Mac, check your chip: choose ARM64 for Apple silicon or x64 for Intel. If macOS warns you about the installer, verify its source and follow the project’s instructions without disabling system protections.

Go to Downloads

Android

Choose an APK for your device’s architecture, or use a universal package if available. Approve Android’s VPN request on first connection. If the VPN drops when the screen locks, check the client’s background battery settings.

Go to Downloads

iOS

Open the app’s App Store listing from the download page, check compatibility, and install it. Importing a configuration and routing traffic are two separate steps: seeing the configuration in the list confirms it was imported. To verify traffic routing, allow the system to add the VPN configuration and start the connection, then check the actual outbound in the client. If the connection status changes after switching networks, first make sure the system VPN is still running.

Go to Downloads

Linux

Identify the package format for your distribution, then check which architectures are supported. For common desktop environments, start with a graphical client. If a server or router needs a standalone core, first confirm the service account, configuration directory, and listening ports. Terminal apps may not use desktop proxy settings, so check the app’s own proxy options before testing to avoid mistaking traffic that bypasses the proxy for a connection failure.

Go to Downloads
Browse All Clients →

Configuration Examples

Clash Configuration Tips

Each example focuses on one related set of fields. When editing an existing configuration, find the section with the same name and merge the example at the same indentation level. After applying it, check the connection log to confirm the matched rule is the one you expect.

config.yaml
mode: rule
rule-providers:
  local-domains:
    type: file
    behavior: domain
    format: yaml
    path: ./rules/local.yaml
rules:
  - DOMAIN-SUFFIX,example.com,DIRECT
  - RULE-SET,local-domains,DIRECT
  - MATCH,DIRECT

In rule mode, rules are checked from top to bottom, and processing stops at the first match. This example checks domain suffixes first, then loads a local rule provider; unmatched connections use the final fallback to connect directly. Before referencing a rule provider, prepare a file containing a payload list and make sure its contents match the rule type. Unlike global mode, rule mode lets you route specific traffic independently. To troubleshoot, check the matched rule on the connection page, then make sure exceptions appear before broader rules. A rule being present in the file alone doesn’t mean it took effect.

Advanced Config →

Open-Source Ecosystem

Clash Clients & the mihomo Core

The client provides the interface, imports configurations, and integrates with the system; the core parses configurations and handles connections. Knowing where one ends and the other begins helps you decide whether to check client settings or core logs.

Terminal · Get mihomo source code
git clone https://github.com/MetaCubeX/mihomo.git

Project History & Configuration Compatibility

Clash originally referred to a proxy core project and later became a common name for related graphical clients. mihomo originated from Clash.Meta, retaining core configuration structures for rules, proxies, and proxy groups while developing its own fields and behavior. Common rules in older configurations may still work, but that doesn’t mean every client can interpret newer options. If you run into migration issues, check the client’s core information to identify the project in use, then consult that core’s documentation. When copying DNS or TUN settings from an older guide, make sure the fields belong to the core configuration and not to a client-specific interface option.

Source Repositories & Community Records

The mihomo core is open source under GPL-3.0. The repository’s license, release notes, and issue tracker can help you understand redistribution terms, feature changes, and known issues. Check each client’s own project for its license and download channels; the core’s license doesn’t determine them. The Git command above downloads source code, not a graphical client installer. When searching for similar issues, use the exact error message and operating system. If you need to share logs, include only the relevant excerpt and remove subscription URLs, access keys, internal domains, and proxy-node connection details.

Troubleshoot Using the Active Configuration

The same subscription may be combined with local ports, interface toggles, and overrides differently by each client. A successful import only confirms that the content was read; it doesn’t mean traffic is routed according to the original file. First check which configuration is selected, then make a new request from the connection page and verify, in order, whether the connection appears, which rule matched, and which outbound handled it. If there’s no connection record, check whether the system proxy or virtual interface is routing traffic. If a record appears but the outbound is wrong, check rule order and group selection. Existing long-lived connections may continue using their original outbound, so establish a new connection when testing.

Troubleshoot Each Update Separately

Client updates can change the interface and installed components; core updates may affect protocol support or configuration behavior; subscription updates mainly fetch new remote configuration. You don’t need to perform all three during the same troubleshooting session. If a problem starts after an update, keep a working configuration and identify which layer was updated. Once the client starts normally, test subscription refreshes, proxy groups, and routing rules one at a time. If only certain domains are affected, check whether their rule provider updated separately before reinstalling the client. When moving to another device, save local overrides and rule files separately; exporting the subscription alone may not include those changes.

Frequently Asked Questions

Why is my proxy list still empty after installation?

The installer provides the client. You still need to import a trusted subscription URL or local file on the configuration page, then select that configuration. If the import fails, make sure the subscription returns a format supported by the client, not a sign-in or error page. See the subscription import steps and FAQ.

Should I use rule mode or global mode?

Choose rule mode to route different traffic by domain, address, or rule provider. To quickly check whether a particular outbound can connect, switch to global mode for a comparison test, then switch back to rule mode and check which rules match. See the guide to choosing a mode.

Why can’t I open websites even though the node latency test succeeds?

A latency test checks a specific probe URL; it doesn’t confirm that every domain and protocol is reachable. When testing the destination, first check whether the connection appears on the connection page. If it does, inspect the actual outbound and DNS result. If the probe also fails, see the troubleshooting FAQ to distinguish a single node timeout from timeouts across all nodes.

Do I need to enable TUN if the connection is working?

If the target app works through the system proxy, you can keep your current settings. Try TUN only if an app ignores the system proxy, and check the platform’s permission requirements first. After switching, test LAN devices and any existing VPN to make sure their routes don’t conflict. See the TUN configuration guide.

Blog

Recent Configuration & Troubleshooting Articles

Start with what you observe: check the logs if the app exits during startup, check DNS if the resolution path is unclear, and rule out shared network issues if every node times out.

Clash Client Crashes on Startup: Find the Cause in Logs and Fix 5 Common Issues

Find client log locations on each platform, then follow troubleshooting steps for five common causes: configuration syntax errors, port conflicts, missing core files, insufficient permissions, and leftover services.

Read Article →

How to Test for DNS Leaks in Clash and Configure Leak Protection

Learn what causes DNS leaks and how to test for them, with configuration examples for enhanced-mode, nameserver-policy, respect-rules, and TUN DNS hijacking.

Read Article →

All Clash Nodes Timing Out? Troubleshoot Step by Step

Follow a step-by-step path from local network and system time to expired subscriptions, port conflicts, and protocol settings, with a check for each stage.

Read Article →