Open-source mihomo core · Cross-platform clients

Clash Downloads

Find Clash clients for your operating system, and browse guides to subscription imports, rule-based routing, and connection troubleshooting.

Clients / Installation

Choose a Clash client for your operating system. Then check the hardware architecture, package format, and traffic-routing method.

The same operating system may have different installation packages. Before downloading, check your device model and processor architecture in system settings, then review the requirements listed on the download page. Client installers contain only the software needed to run the app; you’ll need to provide a subscription URL or local configuration file separately. If the device already has a configuration, export it first and note the current proxy mode and port before installing a replacement client.

Windows

Best for desktop setups where you switch subscriptions, routing modes, and the system proxy from the system tray. Check your system type under Settings → System → About, and use the architectures actually listed on the download page. When moving from an older client, turn off its system proxy and quit the app first to avoid two processes changing proxy settings or competing for the same port. If your browser connects but terminal apps don’t, check whether they use the system proxy before enabling TUN. Launching at startup only controls when the app opens; it doesn’t import a configuration or select a proxy mode for you.

Go to downloads

macOS

On macOS, open Apple menu → About This Mac and check Chip or Processor: Apple Silicon uses ARM, while Intel uses x64. If the system requests permission on first launch, identify whether the request comes from the app, a helper service, or a network component, then follow the client’s instructions. Some apps have their own network settings. After changing the system proxy, test the same destination in both your browser and the app, then check the connections list to see whether the request reached the core. On managed computers, confirm that your organization’s device policies allow network changes.

Go to downloads

Android

Packages are built for the architectures supported by each device. Most recent devices use ARM64; for older devices, choose an architecture supported by your system. Select a universal package only when the download page lists one. On first connection, watch for the system’s VPN permission prompt; after granting permission, inspect requests in the connection details. If the app works in the foreground but disconnects when the screen locks, check background activity limits and battery-saving settings. If an update to the same client reports an installation conflict, keep your subscription and local configuration, then confirm the existing app and new package come from the same release channel.

Go to downloads

iOS

The installation link opens the App Store. Check the store listing for system requirements and device compatibility. After installation, import a supported subscription format, select the configuration, and follow the prompts to add a VPN configuration. If you’ve used another VPN on the device, check which configuration is currently active. Test the same destination over both Wi-Fi and cellular data to see whether the issue is network-specific. A configuration that works on desktop may not transfer to a phone unchanged; check that the selected client supports its proxy protocols, rule sources, and proxy groups.

Go to downloads

Linux

For desktop use, choose a graphical client. If you only need to run the core on a server or router, visit the standalone core section of the download page. Graphical clients must match both your distribution’s package format and your processor architecture; for example, check .deb and .rpm packages against your system architecture. After installation, decide whether traffic will be routed through the desktop environment, the app itself, or a virtual network interface. Terminal environment variables and desktop proxy settings may be applied independently, so note their current values before changing them. If you only need local access, leave LAN access disabled and verify the address the client is listening on.

Go to downloads

Configuration index / CONFIG.YAML

Rule-based routing, proxy protocols, and subscription updates

Start by distinguishing how traffic enters the client from where it exits. The system proxy or a virtual network interface determines whether requests reach the client; rule mode determines which outbound route they take. A working node won’t appear in the connections list if the request never reaches the client. The examples below separate rules, nodes, and subscriptions so you can match logs to rule matches, proxy connections, and resource updates.

FIG 0.2 · Rule hierarchy

Rules are matched in order

In rule mode, rules are checked in the order they’re written, and the first matching rule determines the outbound route. Put narrow domain exceptions before broad categories, then use a final rule to catch everything else. Unlike global mode, rule mode lets you send specific domains direct while routing other requests through a proxy group in the same configuration. To troubleshoot misrouted traffic, check the destination domain, matched rule, and final route together in the connections panel. The proxy group’s currently selected node alone doesn’t confirm that a request went through that group.

mode: rule
rules:
  - DOMAIN,docs.example.com,DIRECT
  - DOMAIN-SUFFIX,example.com,REJECT
  - MATCH,DIRECT
Rule-based routing
FIG 0.2 · Rule hierarchy

Rules are matched in order

In rule mode, rules are checked in the order they’re written, and the first matching rule determines the outbound route. Put narrow domain exceptions before broad categories, then use a final rule to catch everything else. Unlike global mode, rule mode lets you send specific domains direct while routing other requests through a proxy group in the same configuration. To troubleshoot misrouted traffic, check the destination domain, matched rule, and final route together in the connections panel. The proxy group’s currently selected node alone doesn’t confirm that a request went through that group.

mode: rule
rules:
  - DOMAIN,docs.example.com,DIRECT
  - DOMAIN-SUFFIX,example.com,REJECT
  - MATCH,DIRECT
Multi-protocol core
FIG 0.3 · Multi-protocol core

Keep node protocols separate from outbound policies

Node definitions describe how to connect to an upstream proxy; proxy groups choose which node to use. Keeping these separate lets rules point to the same group even when you switch upstreams, without changing your domain lists. HTTP and SOCKS5 in this example are separate upstream protocols. The protocol type must match the server; you can’t infer it from the port alone. When migrating a configuration, also check whether the client supports its transport and authentication fields. If the configuration loads but connections fail, check the handshake error first, then verify which node the group selected.

proxies:
  - {name: http-egress, type: http, server: http.example.com, port: 8080}
  - {name: socks-egress, type: socks5, server: socks.example.com, port: 1080}
proxy-groups:
  - name: PROXY
    type: select
    proxies: [http-egress, socks-egress]
Subscription updates
FIG 0.4 · Subscription updates

Update node resources separately

Remote node resources can live outside the main configuration and be referenced by name from a proxy group. This example uses proxy-providers to fetch a node list on a schedule, with the interval specified in seconds. Updating the nodes doesn’t require rewriting local rules. Unlike importing a complete subscription directly into a client, the resource URL must return data in the expected node-resource format. After an update, check the resource-loading logs and proxy group members before testing the outbound route. Subscription URLs may contain account identifiers; when reporting a problem, share only the request status and error fields.

proxy-providers:
  office:
    type: http
    url: https://example.com/proxies.yaml
    path: ./providers/office.yaml
    interval: 3600
proxy-groups:
  - name: PROXY
    type: select
    use: [office]

These snippets illustrate how fields relate and need to be merged into your actual configuration. For example, a proxy group’s name must match the target specified by a rule, and category rules also depend on the relevant geodata. For your first connection, follow the Getting Started guide to import and verify your configuration. If only some apps can’t connect, check the system proxy and DNS sections in the troubleshooting guide.

Project scope / Upstream sources

Open-source core and client maintenance

The core, clients, and configuration resources have different maintainers. When you run into a compatibility issue, first determine whether the configuration syntax changed, the graphical client doesn’t expose the relevant setting, or the operating system changed its network permissions. Upstream repositories provide access to core code, licenses, and public issue histories. This site organizes installation links and configuration guides, but it doesn’t replace each project’s release notes.

History

From Clash to mihomo

Clash uses configuration files to describe proxy nodes, proxy groups, and traffic rules. Clash Meta extended this configuration system with more protocol and routing capabilities, and continued development later under the name mihomo. In older guides, “Clash” may refer to the core or to a desktop app with a graphical interface. Check which project a guide refers to before relying on similarly named menus or fields. To migrate an older configuration, start with the local ports, proxy groups, and rules: first check that the file parses, then verify that each rule target matches a group name, and finally confirm that the current core recognizes the nodes’ transport settings.

Archived clients can help identify interfaces and behavior shown in older guides. Before installing one on a current system, check the download page for its maintenance status and system requirements, especially for changes to system proxy settings, background services, and virtual network interface permissions.

Ecosystem

Licenses and public issue history

The mihomo upstream repository publishes its source code under the GPL-3.0 license. Repository issues, code changes, and release notes can help determine whether a field is unknown, has changed meaning, or behaves differently on a specific platform. The license applies to the corresponding core code; check other clients and releases against their own project notices. Similar client names don’t mean they share a release channel or license.

When preparing a report, note your operating system, client name, proxy mode, and the action that first triggered the error. Then prepare a minimal configuration and log excerpt that you can share publicly. Replace real destinations with example domains and keep only the rules and fields needed to reproduce the issue. Make sure screenshots don’t show subscription URLs, server credentials, or account identifiers. If the issue occurs only after waking from sleep or switching networks, include those conditions.

Responsibilities

Client interface and runtime configuration

In clients that use mihomo, the interface typically handles configuration imports, proxy selection, system proxy settings, and log display. The core listens on local ports, evaluates rules, and establishes outbound connections. The subscription file selected in the interface may not be the exact configuration the core ultimately reads: a client might apply local overrides before loading it, or merge the interface’s port, virtual network interface, and configuration settings. When troubleshooting, first verify the active configuration, then compare runtime logs and the connections panel rather than checking only the original subscription file.

After changing the mixed port, check whether apps that used the old port need updating too. Changing only a proxy group doesn’t require changing the listening port. If no requests appear in the client, first check how the app connects to the proxy. If connections appear but use the wrong route, check rule order, proxy groups, geodata, and DNS results.

Updates

Separate app, subscription, and geodata updates

An app update changes the client or core executable; a subscription update changes nodes or a complete remote configuration; GeoIP and GeoSite updates change the data used by category rules. These updates may happen on the same day, but troubleshoot them separately. If an update triggers a permission prompt, check the app and system requirements first. If nodes disappear, check for subscription-loading errors. If the node list looks normal but familiar destinations suddenly use a different route, check geodata loading and rule matches.

Before updating, keep a local copy of a configuration that connects successfully and note the current traffic-routing method and a test destination you can reuse. Change one thing at a time, then repeat the same request and compare the logs. A remote subscription refresh may overwrite edits made directly to its file in the client. For settings you need to keep, use a supported local override or a separate configuration file. When migrating, confirm that the new client can read those overrides.

Tips & recent articles

Installation, traffic routing, and latency tests

On mobile, start with the installation link and system permissions. On desktop, if only certain apps can’t connect, compare the two traffic-routing methods. If connections work but performance is inconsistent, look separately at the latency test request, route load, and actual transfer performance.