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.
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.
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.
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.
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.
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.
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.
config.yaml
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.
Next: Rule providers · Move frequently used domain lists out of the main file
DNS · Name resolution and address mapping
Rule providers: maintain lists separately
Move related rules into a separate file, and the main configuration only needs to manage references and match order. This example uses a local file for a domain list, with entries under payload; list formats vary by rule type. Compared with writing every rule directly in rules, rule providers make lists easier to reuse, but add a file path and format to check. Place the reference before the catch-all rule, then compare connection logs with expected matches after loading it to make sure broader rules don't match first.
Next: DNS · Choose upstream resolvers and an address mode
TUN mode · Virtual interfaces and system routes
DNS: resolution and address mapping
DNS resolves domain names to addresses. fake-ip returns virtual addresses to apps while the core keeps the domain-to-address mapping; unlike redir-host, which returns real addresses, it relies on connections returning to the core for handling. Add internal domains that require real addresses to fake-ip-filter as needed. After switching modes, test a regular domain first, then local services and LAN devices. If only some apps fail, check the resolution path and cache before changing upstream servers.
Local overrides · Keep device preferences separate
TUN mode: capture routed traffic
TUN mode uses a virtual interface to capture traffic routed by the operating system, including traffic from some apps that don't use the system proxy. Unlike simply setting a system proxy, enabling TUN often changes permissions, the network stack, and routing. Before turning it on, check for other VPNs or routing tools on the device. Then test a regular website, an app that wasn't previously captured, and a LAN service. If connections fail, turn TUN off to compare results and troubleshoot routing using your platform's documentation. Avoid changing multiple network settings at once.
Next: Local overrides · Separate device preferences from subscription content
External controller · Local management interface
Local overrides: separate device preferences
Subscription updates can overwrite remote configuration. Local overrides let you keep device-specific preferences, such as the log level, in a separate layer. Start with simple key-value fields and save them in the format supported by your client. Unlike scalar values, rules and proxy groups are lists; whether the client appends, prepends, or replaces them depends on its implementation, so don't assume lists merge item by item. After saving, inspect the loaded configuration to confirm the expected fields remain and subscription nodes haven't been replaced, then test with a manual update.
# Example of an overridable scalar field; merge behavior depends on the client
>allow-lan: false
log-level: info
Next: External controller · Manage a running core
Proxy groups · Find outbound choices by group name
External controller: connect to a local core
An external controller lets compatible dashboards read connection status and switch proxy groups. Unlike a proxy port, it's a management interface and does not forward app requests. For local use, bind it to the loopback address and set a unique secret on the device; never expose the management port to the public internet. If the dashboard can't connect, first check whether the core is listening and whether the port is in use, then verify the address and secret in the dashboard. GUI clients may manage these fields themselves, so check their settings before making changes.
external-controller: 127.0.0.1:9090
# Set the secret separately on this device; don't share configurations containing secrets
Back to proxy groups: distinguish the current selection from the configured default
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.
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.
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.
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.
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.
Follow the interface page by page to learn how to switch nodes on Proxies, manage subscriptions on Profiles, and filter by level on Logs—an easy way for new users to understand what each section does.
Compare the original core, Clash Meta, and mihomo across open-source history, protocol support, rule syntax, and maintenance status to help you choose a core for your client.