Clash client downloads and setup guides

Clash MirrorDownloads & Setup

Find a Clash client for your device and learn how to import subscriptions and configure rule-based routing with the mihomo core.

Open-source core Setup guides YAML configuration

Client Settings

Clash Setup & Connections

The Profiles page determines which subscription is in use, the Proxies page controls the outbound route, and Network Settings determines which traffic reaches the core. Check each layer separately. The labels below are common across clients; actual menu names may vary.

Route connections by rule

Rule mode lets you use direct and proxied connections within the same configuration. Open the Proxies page, select Rule mode, and check that the commonly used proxy groups have an available outbound. The core evaluates rules from top to bottom and uses the outbound specified by the first match; put MATCH at the end as a fallback. Global mode is useful for temporarily checking whether one outbound can connect. Direct mode lets you compare behavior without a remote proxy. Switching modes only changes how the core routes connections it receives; it does not enable the system proxy or a virtual network interface.

To check what a field means, start with the glossary. If you haven't imported a profile yet, follow the Getting Started guide to verify your connection.

Platforms

Get a client for your operating system

Check your operating system and processor architecture before choosing a download. Installers, app store listings, and standalone cores are listed separately. For a first setup, a client with a graphical interface is usually the easiest option.

Before installing, distinguish the client from the subscription. The installer provides the program; a subscription or local file provides nodes, proxy groups, and rules. Changing devices does not necessarily mean changing subscriptions, but check that the new client supports the protocols and rules you use most. Even when the same file imports successfully, support for system proxies, virtual network interfaces, and per-app routing can vary by platform. For a first migration, load the original configuration in the new client and verify a commonly used connection before restoring local changes one at a time. This makes it easier to tell whether an issue comes from the subscription, client compatibility, or a previous override.

Before reinstalling, note the active profile, commonly used proxy groups, and any manual changes on your device. Backing up only the subscription URL usually won't preserve locally added rules; saving only the program folder may not include app data. Subscription URLs can contain access credentials, so don't expose them in public screenshots or logs. If you need help troubleshooting, share the platform, client name, mode, and an error message with sensitive details removed. You don't need to upload the entire configuration.

Project origins and maintenance boundaries

The Clash ecosystem and the mihomo core

Clash Mirror provides download listings and configuration guides. Each client is maintained by its own project; refer to the corresponding upstream repository for the core's source code, license, and changes.

mihomo source available GPL-3.0 YAML configuration reference

Project history: Clash, Meta, and mihomo

The original Clash is a rule-based proxy core. It uses configuration files to define proxy nodes, groups, and matching rules; a desktop app's window is not the core itself. Clash.Meta extended these capabilities, and development later continued under the name mihomo. In older guides, Meta may refer to the core project or be part of a client product name. Before following a guide, identify the project it covers and check the fields and menus it describes—don't rely on the word Clash in its name alone. In particular, guidance for the original project may not cover later implementations of new protocols, virtual network interfaces, or DNS features.

Open-source ecosystem: repositories and licenses

You can browse mihomo's source code in its upstream repository. The repository's license explains how the code may be used and redistributed, release notes help track changes, and the issues section can show whether a similar problem has already been reported. An open-source core does not mean every graphical client uses the same license, nor does it determine the terms of third-party subscription services. To check whether a client is open source, review that client's own release notes and license rather than relying on the core it uses. When reporting a problem, first identify whether the issue is a failed import, a core that won't load, or an unresponsive remote service, then choose the appropriate support channel.

Core and interface: check compatibility against actual fields

The interface imports configurations, displays proxy groups, and manages controls; the core parses configurations, matches rules, and establishes outbound connections. Some clients let you update the core separately, while others bundle it with the client. A configuration that works in one client may contain fields another client cannot recognize. If you encounter an unknown field or unsupported proxy type, check which core the client uses, then see Protocol Details to find out which layer implements the feature. If the problem occurs on only one device, also compare its network permissions and local overrides; there's no need to change a configuration shared across all your devices right away.

Updates: installers, cores, and subscriptions are separate

The downloads page links to client installers. A client update may replace both the interface and its bundled core, while the Update button on the Profiles page only fetches the subscription again. Each update affects different components. Before upgrading, note the active profile and local changes; afterward, retest with the same network, mode, and destination. If a problem appears only after refreshing the subscription, check the proxy group names, references, and rule order in the configuration. If it starts after a client upgrade while the configuration is unchanged, review the release notes and startup logs. Change one thing at a time to make the cause easier to identify.

Clone the mihomo upstream repository

This command downloads source code; it does not install a client. To install a client, use the platform links on this page.

git clone https://github.com/MetaCubeX/mihomo.git

Use connection logs to verify your configuration

After installation, start with a clearly structured configuration, enable only the traffic capture method you need, and test a known destination. If the request appears on the Connections page, check which rule matched and which outbound was used. If it doesn't appear, first check whether the app uses the system proxy or whether the client's virtual network interface is capturing the connection—instead of switching nodes right away. If the expected outbound is shown but the request still times out, check whether the destination resolves and whether the proxy server is reachable. Whether traffic reaches the core, uses the right outbound, and connects through that outbound are three separate checks.

When comparing desktop and mobile, you can use the same test destination, but note the network type on each device. Wi-Fi, mobile data, sleep, and background restrictions can all affect the results. Comparisons are meaningful only when conditions are similar. Client screenshots show where settings are and how they relate; they don't mean configurations sync automatically between devices. Check what each client actually loads to see whether configuration files are shared or subscriptions update on both.

First-time setup checklist

Frequently asked questions

Start by identifying which settings layer matches the issue you're seeing, then decide whether you need a different client or a configuration change.

The import succeeded. Why is the Proxies page still empty?

A profile appearing in the list only means the client added a source. First confirm it's the active profile, then check the logs for YAML parsing errors, missing referenced proxy groups, or failed proxy-list downloads. The configuration may also define rules without including usable nodes. If you updated the subscription after importing it, compare it with the last configuration that loaded successfully and check whether the proxy group names and references are still present. See the glossary for related terms.

Does Global mode send traffic from every app through the proxy?

Not necessarily. Global mode determines which outbound the core uses for traffic it receives; it doesn't make apps send their traffic to the core. If the browser appears on the Connections page but another app doesn't, check whether that app honors the system proxy or whether a virtual network interface is capturing its traffic. If both apps appear, check whether the Global group has the expected outbound selected. This helps distinguish a traffic-capture issue from choosing the wrong proxy mode. See the glossary for the difference between proxy modes and traffic capture methods.

The test succeeds. Why does the destination still time out?

A proxy group test uses the URL specified in the configuration. It checks connectivity and response time for that URL, not whether other destinations are reachable. First check which rule matched the destination traffic on the Connections page, then confirm it uses the outbound that passed the test. If both match, note whether there were any DNS errors before the timeout and test again on the same network. Avoid changing the node, test URL, and rules all at once, or it will be hard to tell what helped. See the glossary for definitions of test groups and failover.

Do I need to enable LAN access to proxy just one desktop app?

When the app and client run on the same computer, the app usually only needs to connect to the client's local proxy port. First check which port type the client is listening on, then check which proxy protocols the app supports. If they don't match, the connection may be refused or the handshake may fail. Allow LAN Connections is a separate setting that controls whether other devices on the same network can connect to that port. Leave it off if no other devices need access. See the glossary for the meaning of ports and listening addresses.

Maintenance & Troubleshooting

Latest Technical Articles

Migration, log troubleshooting, and router deployment are separate topics. Choose the article that matches the issue you're working on.

What to use after Clash for Windows was discontinued: migrate to a maintained client

Learn how to choose a maintained replacement after your old client stops receiving updates, and migrate subscriptions, custom rules, and overrides with minimal disruption.

Read article →

Clash log errors explained: troubleshooting dial timeout and DNS resolution failures

Understand log levels and common errors, including connection timeouts, DNS resolution failures, unmatched rules, and ports in use, with a step-by-step troubleshooting order.

Read article →

Run the mihomo core on a router or secondary router: deployment options and prerequisites

Learn how to run the mihomo core directly on an OpenWrt router or secondary router, including architecture choices, transparent proxy modes, DNS configuration, and common limitations.

Read article →