Choose a Clash client for your platform, start by importing a subscription, then follow the steps to configure routing rules and verify your connection.
Configuration files define rules and available proxies; the client lets you enable a configuration, switch proxy groups, and inspect connections. First identify which layer you need to change, then find the right setting.
Choose and switch proxy groups
When a rule matches, it can pass the connection to a proxy group, which then selects an outbound proxy. Open the client’s Proxy page, find the group named in the rule, and check its current selection. Select a proxy manually to keep traffic on a specific route and compare options one at a time. A URL-test group chooses based on probe results; a fallback group tries available members in order. Unlike global mode, changing one group affects only traffic routed through it. Send a new request and check the connection list to confirm the actual outbound proxy; existing connections may keep using the previous selection.
In rule mode, the client checks rules from top to bottom and typically uses the first match. To send a domain directly, check whether an existing suffix rule already includes it. If so, put the more specific rule above the broader one. The final catch-all rule handles connections that no earlier rule matched, so keep it at the end. Unlike global mode, rule mode lets you choose an outbound proxy for each destination. After editing, reload the configuration and check the matched rule in the connection list—don’t rely only on whether a page loads.
On the Subscription or Config page, choose Import from URL. After saving, select the config and make sure it is active. Local YAML files are useful for offline editing; remote subscriptions are easier to update, but refreshing may overwrite changes made directly to the remote config. Keep a working copy before editing. If parsing fails, check the line number, indentation, and config format instead of adding the same URL again. If you see only a list of proxies, confirm the client supports the imported format and check whether its template needs to supply the rules and proxy groups.
mode: rule
>log-level: info
System proxy and app-specific proxies
When system proxy is enabled, apps that honor system proxy settings usually send requests to the client’s local proxy port. Make sure the client is running, then send a new request from your browser and check the connection list. If the browser appears there but another app does not, check whether that app has its own proxy settings. Compared with routing traffic through a virtual network interface, the system proxy has a more visible scope and is a useful first connection test. If pages stop loading after you quit the client, check whether the system proxy setting was restored.
Client settings
System proxy: On
Where to verify
Connection list: check new requests
TUN mode and traffic routing
Some desktop apps ignore system proxy settings. If your client supports it, check whether TUN mode is available. It receives traffic through a virtual network interface rather than the system proxy. Before enabling it, check whether the client needs a service or elevated permissions, and whether another virtual network tool is already installed. Afterward, test both a regular website and a local network resource; a page loading successfully does not mean every connection is working. If your connection drops as soon as TUN is enabled, restore the previous settings first, then check permissions, routes, and DNS instead of toggling several options at once.
tun:
enable: true
DNS resolution and Fake-IP
If a webpage won’t load, first find out whether the domain failed to resolve or resolved successfully but the connection timed out. Configurations using Fake-IP return synthetic addresses for some domains so the core can associate the original domain with the connection. Seeing one of these addresses in the logs does not mean DNS failed. When accessing local network devices or internal domains, reproduce the issue with one destination first, then check whether you need to adjust the filter rules. Compared with changing system DNS directly, checking the current enhanced mode makes it easier to pinpoint which layer changed and restore the previous settings.
For your first setup, get one connection working and make its behavior easy to inspect. Confirm whether the request reached the client and which rule it matched before changing URL testing, startup behavior, or other advanced settings.
Choose and install a client
Go to the download page, choose your operating system, and check the system requirements and processor architecture. After installing, open the client and make sure the main window loads properly. If you already have a similar tool installed, quit it first so you can tell which app is handling your connections. When prompted for system permissions on first launch, review what access is being requested and why.
Import and enable a subscription
Open the Subscription or Config page and choose Import from URL or open a local file. After saving, select the entry and confirm it is now the active config. Then open Proxy groups to check the available outbound proxies. If the list is empty, start with the import log: a failed request and a config parsing error are different problems with different fixes. Note the name of your previous config before switching so you can switch back if needed.
Connect and verify routing
Select rule mode and use the client’s recommended method to route traffic through it. Send a new request to a site you can normally access, then open the Connections page and check the destination domain, matched rule, and outbound proxy. If there’s no entry, check how traffic is being routed. If there is an entry but the request failed, check the relevant proxy group and error log. Change one setting at a time.
Can load webpages but aren’t sure where your traffic is going? Close and reopen the test page to avoid reusing an existing connection, then compare connection records before and after changing a setting. A latency test alone doesn’t confirm that a real request works.
These links open the download list for each platform. For a first install, start with a graphical client that is still maintained. When migrating from an older client, first check whether you can import your existing subscription, then configure the system proxy, startup behavior, and shortcuts.
Windows
Open Settings → System → About to check your system type, then choose an installer supported by the download page. If you’ve used an older client on this computer, note its config name and local proxy port. Quit the old client before starting the new one.
Use a browser to verify your first connection, then configure the client to start at login. If pages stop loading after a restart, check which client launched and whether the system proxy points to the port it currently uses.
Open About This Mac from the Apple menu to see whether your Mac has Apple silicon or an Intel processor, then choose the matching installer. If the download completes but the client won’t launch, check the macOS version and architecture requirements; changing proxy settings won’t fix an installation issue.
If another network tool is in the menu bar, check which one is controlling the system proxy. If only some apps disconnect after your Mac wakes from sleep, send a new request and check the connection list. That’s more useful than repeatedly importing the config.
Check your phone’s operating system version and architecture before choosing an installer. The first time a client starts its proxy service, the system usually asks you to approve a VPN connection. Approve it, then check the client’s status. If you already use another VPN, note that the two services may replace each other.
If the connection drops only after the screen locks, note when it happens, then check the app’s background activity or battery restrictions. If the problem occurs only when switching networks, test mobile data and Wi-Fi separately.
Open the Clash Plus App Store listing from the download page. Check device compatibility, install the app, and import your config. When the app first sets up a VPN connection, follow the system prompt to approve it, then return to the app and check the active config and connection status.
If you used the same subscription on an older device, make sure the imported config is selected on the new one. A VPN Connected status means the tunnel is established; check the client’s connection records to see which outbound proxy is actually being used.
For desktop use, choose a graphical client and match the package format to your distribution and processor architecture. If the package won’t install, read the package manager’s error and check whether dependencies are missing, the architecture is wrong, or your distribution isn’t supported. Don’t mistake an installation issue for a config parsing error.
For servers or routers, see the mihomo core section on the download page. Unlike a desktop client, a core package requires you to manage the config file, process, and logs yourself. If you just want to import a subscription through a graphical interface, choose a desktop client.
Still using a client marked “No longer maintained” on the download page? Treat its archived package as a reference for legacy setups. When switching to a maintained client, keep a working copy of your config and test importing, rule matching, and local network access separately before removing the old tool.
The open-source Clash ecosystemand the mihomo core
The download page links to apps and cores from different projects; this site doesn’t publish a single unified client. Knowing the difference between a core, a client, and a subscription source helps you find the right documentation for your issue.
MetaCubeX / mihomo
GPL-3.0
Public source code and issue trackers
Project history
Early versions of Clash used a single config format for proxies, proxy groups, and routing rules. Over time, other core branches and independently maintained graphical clients emerged. mihomo is the continuation of the original Clash Meta branch. It retains familiar config structures while adding protocol and networking features.
Older articles saying “Clash supports this field” may refer only to the branch used at the time. When following an older guide, check the project name and settings page before deciding whether a field applies to your device. A successful import doesn’t mean every advanced setting is active; verify behavior with a real connection.
What the client and core do
The core parses configs, applies rules, and handles connections. The client interface imports subscriptions, displays proxy groups, and may also manage the system proxy, background services, or network permissions. Even two clients using similar cores can differ in menu layout, defaults, and system integration.
If an import fails, start with the config parsing log. If a toggle does nothing, check permissions, system routing status, and messages from the client. If the same config behaves differently in two clients, record the active mode and config in each one instead of assuming similarly named settings work the same way.
Repositories, documentation, and bug reports
The public mihomo repository includes source code, license information, release notes, and issue reports. To look up an unfamiliar config field, search for its full name first. When reporting a problem, include your operating system, expected and actual results, and the shortest steps to reproduce it so maintainers can distinguish a config issue from a software bug.
For desktop tray, mobile background activity, or installation permission issues, start with the relevant client project. Check core issues when you can reproduce a rule parsing problem independently. Before sharing screenshots or logs, remove subscription URLs, proxy credentials, and any unnecessary personal browsing history.
Updating apps, cores, and subscriptions
A client update changes the app; a core update can change config parsing and connection behavior; refreshing a subscription replaces content provided by the remote config. If a problem starts after an update, first identify what changed. Reinstalling the app and overwriting the config at the same time makes it much harder to find the cause.
Before refreshing a subscription, save a working local copy. After the update, check whether proxy group names or rule references have changed. You can reimport a config when switching clients, but you’ll generally need to recheck startup settings, traffic routing, and system permissions in the new client.
Get the mihomo source code
These commands are for users who have Git installed and want to read or contribute to the source code. They only clone the repository locally; they don’t install a client or change network settings. For everyday installation, choose an app from the client download page.
git clone https://github.com/MetaCubeX/mihomo.git
Clash config guidesand troubleshooting notes
Choose an article based on what you need to do: before switching clients, understand subscription formats; if a working subscription won’t refresh, check the request and update settings; when comparing core features, check the fields your current config actually uses.
Compare mihomo (Clash Meta) with the original Clash core, including added proxy protocols, rule-provider support, TUN stack changes, and DNS updates.
For readers with a working config who want to know which fields to keep or retest after migrating. First check which core your client is actually running, then compare it with the article.
Learn why updates fail due to expired subscription URLs, blocked requests, or a mismatched User-Agent, and how to set the auto-refresh interval in different clients.
If your old config still connects, keep it and first determine whether the request failed or the config couldn’t be parsed. Check the request result for the former; for the latter, inspect the response content and confirm the client supports its format.
Learn how Clash YAML configs, generic Base64 subscriptions, and single-proxy links differ—and what happens to rules and proxy groups when you convert between formats.
Before switching clients, figure out whether you have a complete config or just a list of proxies. Both may come as URLs, but they don’t necessarily provide the same proxy groups and rules after import.