Client and Configuration Guides

Clash Across PlatformsClient Downloads

Choose a client for your platform and follow the steps to import a subscription, set up a proxy, and verify your connection.

  • mihomo Core
  • Rule-Based Routing
  • Chinese Documentation
Downloads by Platform

Choose by Device

Clash Downloads by Platform

Check your operating system first, then match the package to your processor architecture and file format. Desktop clients provide a graphical setup; install the core separately only if you need a command-line service.

Windows Before installing, check your system type under Settings → System → About. A 64-bit label alone isn't enough: distinguish x64 from ARM64. If an older client is still running, quit it normally and turn off its system proxy before starting the new one to avoid conflicts over listening ports. Go to Downloads macOS Open About This Mac. Choose the Apple Silicon build for an Apple chip or the Intel build for an Intel processor. Read system permission prompts carefully the first time you enable the system proxy or TUN. If you only need browser access, start with the system proxy. Go to Downloads Android Choose an APK for your device's architecture. If you're unsure, check whether the client offers a universal build. The first connection usually triggers a system VPN permission prompt. If another VPN is active on your phone, disconnect it first, then confirm the new client has taken over. Go to Downloads iOS Use the download page to open Clash Plus on the App Store and check system compatibility. After installing, import your subscription in the app and follow the system prompts to add a VPN configuration when connecting for the first time. Once authorized, return to the app and confirm which configuration is active. Go to Downloads Linux For desktop Linux, find the DEB or RPM package for your distribution, then check the processor architecture. For servers, choose a file by the core's architecture and package format. If desktop apps can connect but terminal commands don't use the proxy, check the tools' proxy settings before reinstalling anything. Go to Downloads

Browse all clients →

Configuration Fields and Interface

Clash Core Features

Rules determine how connections are routed; the system proxy and TUN determine which connections reach the core. Check these settings separately to identify whether the issue lies with the app's traffic entry point, rule matching, or connection details from the subscription.

Configuration Field Examples

These are standalone snippets, not complete subscriptions. Check which configuration layer each field belongs to, then find the corresponding page in the client.

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

This example shows one specific domain and one catch-all rule; both use a direct connection. Use the proxy policy groups defined in your active configuration, and don't reference a group that hasn't been defined.

First Connection

Clash Quick Start

Handle installation, loading a configuration, and verification as separate steps. Each should have a result you can confirm in the interface, making it easier to pinpoint where something goes wrong.

  1. Install a Client

    Open the download center, choose your operating system and architecture, then launch the client and reach its main screen. When migrating from an older client, keep its local configuration and any necessary overrides, and note the active configuration's name. Quit the old app before opening the new one; closing its window may leave it running in the system tray. Once the new client shows the configuration page, you can move on to importing a subscription. There's no need to change the proxy port yet.

  2. Import and Enable a Subscription

    Under Subscriptions or Configuration, add the full URL provided by your service, then select the imported configuration. If you have a local YAML file, use the import-file option. After a successful import, the configuration should appear in the list. Enable it, then check the Proxies page for the expected policy groups. If the list is empty, first determine whether the remote URL failed to return content or whether a downloaded file couldn't be parsed by the core; the fixes are different.

  3. Connect and Verify

    Select rule mode. On desktop, enable the system proxy; on mobile, authorize the connection when prompted. Reopen a commonly used page, then check the connection list for the new request, its matching rule, and its outbound route. A page loading doesn't necessarily mean it used a proxy—the rule may have sent it direct. If only one app fails, first check whether it uses the system proxy, then consider trying TUN. Avoid changing the mode, port, and rules all at once.

Read the full guide →

Projects and Releases

Clash Open-Source Ecosystem

The client is what you download, the core applies the configuration, and the subscription service provides connection details. They come from different projects or providers, so troubleshoot and update each separately.

Project History

The original Clash uses configuration files to organize proxy connections, policy groups, and rules. Clash.Meta continued this basic structure and is now developed under the name mihomo. In older guides, “Clash” may refer to the original core or to a graphical client. Before following one, check which project, operating system, and component it covers. Old screenshots can help explain the goal, but if a menu is missing, check the current project's documentation for the right entry point. There's no need to switch clients just to match a screenshot.

Clients and Subscription Services

Graphical clients such as Clash Verge Rev and FlClash are maintained by their respective projects. Their interfaces, system integrations, and configuration management may differ. Even if both can open the same YAML file, don't point one client to another's application data directory. Subscriptions are a separate layer: the client fetches and loads the configuration, while the subscription service provides the connection details. If the same subscription error persists after switching clients, first check that the URL is valid and the service is available, then investigate your local network.

The Core and the Graphical Interface

The core receives connections and uses the active configuration to decide whether to connect directly, use a proxy, or reject them. The graphical interface manages subscriptions, shows matched rules, and uses system settings to route traffic to the core. If a configuration imports successfully but an app still bypasses the proxy, first check whether its request appears in the connection list. If it doesn't, check the system proxy, TUN, or the app's own settings. If it appears but takes the wrong route, check rule order and policy groups. If it takes the right route but still fails, check the upstream connection and core logs. This is more effective than reinstalling at the first sign of trouble.

Updates and Rollbacks

Updating the client, updating the core, refreshing a subscription, and updating geolocation rule data are separate tasks. If the interface won't start, check the client. If it can't read a field, check the core. If connection details have changed, check the subscription. If a geolocation rule is misfiring, check its data source and update time. Before updating, keep a working configuration and note any ports, traffic entry modes, and policy groups you've changed manually. Update one layer at a time, then initiate a connection from the same app and verify the result. If something breaks, roll back just the layer you changed and compare the changes.

View mihomo Source Code

Run the command in a terminal with Git installed to get the MetaCubeX project's source code and repository documentation. If you only need to install a client, you don't need to clone the repository.

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

Configuration Notes

Clash Advanced and Troubleshooting

Choose an article by symptom. An app that can't connect, a core that's unable to bind a port, and other devices on the same network that can't connect each call for a different troubleshooting approach.

Clash Port 7890 Is in Use: Find the Process and Change the Listening Port

If startup reports that a port is already in use, find which process is listening before deciding whether to quit it or assign Clash a different port. After changing the port, update the system proxy and any apps configured manually; otherwise, the core may start successfully while traffic still goes to the old port.

Browse all articles →