Open-source proxy clients · Configuration workspace

Clash clients Downloads and setup

Choose a client for your device, start by importing a subscription, then adjust routing rules as needed.

Multi-platformEnglish documentationconfig.yaml

01 / Choose a platform

Download Clash clients

A configuration can be moved between clients that support its syntax, but installers are platform-specific. Check your operating system and CPU architecture first, then compare maintenance status, core, and the features you need. If you only need to import a subscription and switch nodes, start with the ease of those everyday tasks. Check advanced features if you plan to write rules or merge subscriptions.

Windows

Check your system type in Settings > About, and distinguish common x64 devices from ARM devices. When moving from an older desktop client, export your local configuration and quit the old app before enabling the new client's system proxy. Running both at once can cause them to compete for the same local port or overwrite system proxy settings.

macOS

Check About This Mac to see whether your Mac has Apple silicon or an Intel processor, then choose the matching installer. After installation, make sure the menu bar app opens and the configuration is active. If regular browsing works but an app still uses its previous network route, check whether it respects the system proxy before trying another traffic-capture method.

Android

Choose a package that matches your device's instruction set. If a universal package is available and you're unsure of the architecture, consider that option. On first launch, you'll usually need to approve the system VPN request. If connections drop frequently after the screen locks, check whether the system restricts background activity, then determine whether the client has quit or the node has become unreachable.

iOS

Open the App Store from the downloads page. Check the listed OS compatibility, then make sure the client can import your configuration format. Approve the VPN configuration when prompted on first connection. If another VPN is active on your device, disconnect it first, then return to the client and confirm the new configuration is enabled.

Linux

For desktop Linux, find a package for your distribution and architecture. Note that DEB and RPM packages use different package management systems. A GUI client is usually the simplest choice for everyday use; consider a standalone core for servers or routers. When running a core on its own, manage its configuration directory, startup method, and log location separately.

02 / config.yaml

Clash configuration quick reference

Trace how a connection is accepted, which rule it matches, and which proxy group handles it. Sections on the left are organized by configuration purpose; examples on the right show only the relevant fields. Before merging them into an existing file, check syntax support in your core, list placement, and group names.

Proxy groups: choose an outbound

Proxy groups collect multiple outbound options under one name, which rules can then reference. url-test automatically selects an outbound based on probe latency; that latency doesn't predict speeds for other sites. Use select to choose an option manually, or compare fallback to switch through options in a set order when one is unavailable. This example uses only the built-in direct option to make the structure easier to follow. In a real configuration, add your existing proxy names to the group and make sure rule references match the group name exactly.

proxy-groups:
  - name: Auto
    type: url-test
    proxies: [DIRECT]
    url: https://www.gstatic.com/generate_204
    interval: 300

Next: Rule providers · Move frequently used domain lists out of the main file

03 / First connection

Get started with Clash

For your first setup, do just three things: import, enable, and verify. Confirm the basic connection works before adding automatic tests, rule providers, or virtual network settings. Change one type of setting at a time so it's easier to identify what affected the result.

  1. Import a subscription or local file

    Open the client's Configuration page. If you have a subscription URL, choose the option to import from a URL; for a local YAML file, choose import from file. After saving, wait for the new entry to appear, then select it as the active configuration. Return to the proxy page and check that the groups or nodes have loaded. If the import produces only an empty entry, check its error message. Reinstalling the app usually won't change the format returned by a subscription.

  2. Choose a routing mode and connect

    On the proxy page, select Rule mode, then expand the groups you use most and check the active outbound. Rule mode routes traffic according to the configured rules; Global mode sends requests through a single outbound. On desktop, you can start by enabling the system proxy. On mobile, follow the prompts to grant VPN permission. For your first test, use just one traffic-capture method to avoid other VPN or proxy apps changing network settings at the same time.

  3. Verify the result in connection logs

    First visit a site that you know works as a baseline, then try a test domain explicitly listed in your configuration. Find each connection in the Connections page and check the domain, matched rule, and final outbound. If no entry appears, check whether the app is using the proxy. If an entry appears but the request fails, check node connectivity or DNS errors. A successful speed test only confirms that the probe request was reachable; it doesn't replace this check.

Common first-connection issues

The subscription downloaded. Why does the proxy page still show the old nodes?

Updating a configuration and enabling it are separate steps. First, make sure the entry you just updated is selected on the Configuration page. Then check that the proxy page is showing the right group. If nothing has changed, check the update time and any error message. See the subscription import steps.

When should I use Rule mode or Global mode?

Choose Rule mode to send different traffic through different outbounds. Global mode can help with comparison tests and show whether a problem is caused by a rule. When you're done testing, switch back to your original mode and check the connection logs again. See proxy modes explained.

Why do some Windows apps have no connection logs when my browser works?

First check whether the app uses the system proxy. Some sandboxed apps are also subject to loopback restrictions when accessing a local proxy port. Refer to the UWP loopback guide only if your findings point to this restriction.

What should I remove before sharing a screenshot or configuration?

Don't share a full subscription URL, proxy credentials, or a controller secret. For troubleshooting, the error, field name, and steps to reproduce the issue are usually enough; use a redacted example to explain the problem. See the subscription configuration guide to tell URLs apart from local files.

04 / Project background

The Clash open-source ecosystem and update sources

Clients, cores, and subscriptions are three different things. To determine whether a feature is available, first identify which layer provides it, then check that project's documentation, release history, or local logs.

Project history: where older guides came from

The original Clash focused on the core; its proxy groups, rules, and DNS settings were later adopted by multiple clients. Screenshots in older guides often come from one specific GUI client and don't represent every Clash app. If an old article mentions Clash for Windows or another archived client, first determine whether you're migrating an existing setup or choosing a client for a new device. You can keep your subscription source and custom rules when migrating, but don't assume the old app's menu paths, startup options, or system proxy settings apply.

Open-source ecosystem: trace changes to their source

Core repository documentation, commits, and issue history are useful for checking field meanings, defaults, and known issues. A client's release notes are a better source for installation, updates, and UI behavior. A feature in the core doesn't mean every client has integrated it or exposed it in the interface. When troubleshooting, note your operating system, client name, active mode, and exact error first. Then determine whether the app won't install, the configuration won't parse, or the rules produce an unexpected result. This order can save a lot of guesswork.

Core compatibility: importing a configuration doesn't guarantee identical behavior

Mihomo continues the Clash Meta development line. Many common Clash configuration fields are shared across these cores, but newer protocols, rule fields, DNS defaults, and system traffic capture may differ. The app is the client; the core it invokes is what actually reads the configuration. After switching clients, first verify that a test request matches the expected rule, then check advanced features. If the UI shows a successful import but the logs report an unknown field, check the documentation for the active core rather than judging compatibility by the file extension.

Updates: distinguish the app, subscription, and rule providers

An app update replaces the program and may also change the core. A subscription update fetches the configuration or nodes again; a rule provider update replaces a referenced list. Each has its own update source and can fail independently. If the app starts but a remote subscription times out, reinstalling the app shouldn't be your first step. If the node list looks normal but a destination suddenly matches a different rule, check for list updates and rule order. Keep a known-good local configuration before making changes, then test after each update to narrow down any problems.

05 / Reading list

Clash guides

Once the basic connection works, look up the topic that matches your question. For an overview of the interface, start with the quick tour. For field compatibility, compare the cores. To confirm that domain requests follow the expected DNS path, run a DNS comparison test.