Client directory · Setup guides

Clash MobileAndroid & iOS

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

  • mihomo kernel
  • Open source · GPL-3.0
  • YAML configuration

Configuration preview

From subscription to rule-based routing

Importing a configuration determines which nodes and policy groups are available; proxy mode determines how they’re used once connected. Load a configuration first, choose a mode, then check which rule a connection matches. These two previews show where to import a configuration and how to review its rules. Labels may vary by client.

Subscription URL and local file

Remote subscriptions can be refreshed; local files use the contents available when imported.

View import steps

Rule order and policy groups

Match specific domains first, then use a catch-all rule for everything else.

View the routing guide

The examples below are mihomo YAML snippets for reference, not four standalone configurations to paste into a subscription. Before editing, check whether your client supports local edits or only configuration overrides. Changes made directly to a subscription-based file may be overwritten when it’s fetched again. To keep your own settings, use the override layer provided by the client whenever possible.

Subscriptions vs. proxy providers

A client’s “Import from URL” option usually expects a complete Clash configuration. After saving it, update the configuration manually, select it in the list, then open the proxy groups to check that nodes have loaded. A node-only link may not work as a complete configuration. The kernel shown in the adjacent example also supports referencing nodes from a proxy provider in an existing configuration. The update interval below is measured in seconds; it does not control background refresh by the mobile app. To make these nodes available to a policy group, add the corresponding use reference to the group.

proxy-providers:
  phone-nodes:
    type: http
    url: "https://example.com/provider.yaml"
    path: ./providers/phone-nodes.yaml
    interval: 86400

Downloads

Download Clash clients by platform

A platform may have several clients, and settings with the same name may be in different places. Installers aren’t interchangeable across operating systems or processor architectures. Start with the device you’re using, check the system requirements on the download page, then decide whether to stick with a familiar interface or move to a client that’s still maintained.

Windows

For a graphical interface to manage subscriptions and policy groups, compare the desktop clients on the download page. Find your system type under Settings → System → About. Before switching clients, quit the old one to prevent both apps from controlling the system proxy. If your browser loses connectivity after you uninstall the old app, check whether the system proxy still points to its now-disabled local port, then check the new client’s connection status.

Go to downloads

macOS

Open About This Mac from the Apple menu to check your processor, then choose the Apple Silicon or Intel installer. Test the system proxy in a browser first. If only one desktop app bypasses the proxy, check whether it has its own proxy settings. If you need to route more traffic, review TUN support and system permission requirements for your chosen client.

Go to downloads

Android

Choose a phone-compatible APK from the download page. Check which app architectures your system supports instead of relying on the phone model alone. Choose a universal build only if the download listing explicitly identifies it as one. After installing and granting VPN permission, test the connection with the app in the foreground. If it disconnects only when the screen locks, check the app’s background activity restrictions in system settings.

Go to downloads

iOS

Open the Clash Plus App Store page from the download page and check system compatibility in the listing. The first time you connect, iOS will ask permission to add a VPN configuration. Grant permission, then return to the app and check the connection status. If your phone already has a work or school VPN, check whether it’s currently using the connection. Don’t delete a configuration managed by your organization just to troubleshoot.

Go to downloads

Linux

For desktop use, start with a graphical client. Check whether your distribution uses DEB or RPM, then verify the processor architecture; matching package formats don’t guarantee architecture compatibility. For a server or router, the download page has a separate kernel option. Kernel packages don’t include a graphical interface, so you’ll need to manage configuration files, permissions and service startup yourself.

Go to downloads

Quick start

Connect in three steps

Start with a working Clash subscription or local configuration. Installing a client is only the first step: your initial setup is complete when you can import a configuration, connect and see actual requests.

  1. Import and select a configuration

    On the Configuration or Subscription page, tap Add and choose URL or file as the source. Save it, return to the list and select the configuration you just imported. If the configuration appears but has no nodes, check that the source provides Clash YAML rather than a share link for another client.

  2. Choose Rule mode and connect

    Open the Proxy page and select an available node for the main policy group. Switch to Rule mode and tap Connect. On a phone, confirm the app name in the VPN permission prompt. If the desktop app has a separate System Proxy switch, use it to test a browser first; you don’t need to enable TUN at the same time.

  3. Open a page and check its route

    Make a new browser request, then compare the destination domain with the rule and policy group shown in the connection log. A VPN icon alone doesn’t confirm that the request went through a proxy. If there’s no matching log entry, close and reopen the page, then check whether the browser or app has its own proxy settings.

Project and source

The Clash ecosystem and the mihomo open-source kernel

Look for the client’s name when installing, and the kernel’s name when checking options. Keeping the two distinct helps you find the right release notes and work out what you can carry over when migrating a configuration.

Project history: an old name doesn’t mean it’s the same software

Clash originally referred to a proxy kernel, and the name is now also commonly used for clients that support its configuration format. Clash for Windows, once a popular desktop app, was a graphical client—not the kernel itself. Although archived, it may still appear in older guides. Use those guides for configuration ideas, not to look for identical menus. Before migrating, note your subscription source and commonly used policy groups, then check whether the new app can import them. You’ll usually need to set up desktop app preferences, system proxy controls and keyboard shortcuts again in the new client.

Open-source community: check the relevant project

mihomo is licensed under GPL-3.0. Commits, issue discussions and release notes in its source repository can help explain changes. For suspected changes in rule or DNS behavior, start with the kernel’s project records. For installation, window or menu issues, check the documentation for your client. An open-source kernel doesn’t mean every graphical app uses the same license or supports the same overrides. When reporting a problem, include your system type, client name and steps to reproduce it. Hide subscription URLs and node credentials before sharing screenshots.

How the kernel fits in: the interface manages; the kernel handles connections

mihomo continues the development of Clash.Meta. In clients that use mihomo, the interface displays subscriptions, switches policy groups and manages system permissions; the kernel does most of the work of parsing YAML, matching rules and handling DNS. If the same configuration behaves differently on two devices, check the active mode and overrides first, then confirm whether both use the same type of kernel. Valid YAML may still contain fields a client doesn’t support or reference rule sets that weren’t imported.

Updates: keep the app, kernel and subscription separate

An app update may include a new interface and may also update the kernel. Refreshing a subscription only fetches the remote configuration; it doesn’t update the software. Before upgrading, save any exportable overrides locally and note your current mode and commonly used policy groups. After upgrading or migrating, open a familiar configuration and test its routes with the same pages as before, then restore your custom settings one at a time. If a subscription refresh changes group names, check whether old overrides still reference the previous names. Avoid reinstalling the app, changing subscriptions and rewriting rules all at once, or it’ll be hard to identify what caused the issue.

Get the mihomo source code

This command copies the source code into the current directory. Use it to review the implementation or check project history. If you just want to use a client, choose an app from the platform links above.

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

Article index

Recent configuration guides

Pick a guide based on the issue: for rule order, start with syntax and priority; for a discontinued client, make a migration checklist; for Android disconnects after screen lock, check background operation settings.