Choose a client for your platform, then enable your config with the subscription import steps. For routing or DNS changes, refer to the Chinese YAML field reference.
The screen above illustrates client settings. The provider field is an example; the interval is in seconds.
Core mihomoCore license GPL-3.0Platforms 5Config format YAML
From subscription import to active config
Open the client’s Config or Subscription page, choose import from URL, paste the full link, and confirm the config appears in the list. First, make sure the server returns a format your client supports. A full Clash config can include both proxy groups and rules. A node-only list is not a full config and requires client support for that format. If parsing fails, check that you copied the subscription URL rather than a login page URL, and that you included the query string. The example below shows a different approach: an existing config uses a proxy provider to fetch nodes; it does not paste a full config into a node source.
After importing, return to the config list, select the entry you just added, and confirm the active marker has moved. You can keep multiple subscriptions, but a completed download does not mean the config is active. When switching, don’t rely on the filename alone. Compared with editing a remote config directly, keeping temporary changes in a local copy makes them easier to roll back—but the copy won’t update when the original subscription refreshes. For testing, you can first use rule mode with a local copy, then check the Connections page to see whether traffic is reaching the client. Switch back to the original entry when you’re done.
config.yaml · Local config operating mode
mode: rule
log-level: info
On the Proxy page, expand the group targeted by the rule and check whether it contains nodes, other proxy groups, or a direct connection. A manual group works well when you want a fixed member; a URL-test group selects from its members based on probe results. Probe results apply only to the specified test URL and don’t predict performance for your target app. If a site still won’t load, try another member in the same group, then check on the Connections page that the request is actually using that group. The example below references the previously defined work node source; the probe interval is not the provider update interval.
With rule mode enabled, reopen the page you want to test and check its domain and matched rule on the client’s Connections page. Put specific rules before broader ones: for example, a rule for a subdomain should come before a broader domain-suffix rule. Global mode can help briefly confirm whether an exit works, but it won’t prove that a rule is correct. If the log shows the fallback rule was used, first check whether the requested domain matches the one in the address bar, then review rule order. There’s no need to replace the entire subscription first.
If a domain fails to resolve, use the logs to distinguish between a nonexistent domain, a query timeout, and a connection timeout after successful resolution. Open the client’s DNS settings or config overrides and check the upstream servers and enhanced mode. Changing enhanced mode and changing the upstream resolver are separate actions. Unlike setups that return real addresses, Fake-IP returns synthetic addresses for some domains so the core can identify them. This mapping works only when the request passes through the core. If only internal domains fail, check local resolution and interception scope rather than changing every upstream server at once.
First, manually refresh the config in the list. Confirm that the update time changes and the config still loads before deciding whether to enable automatic updates in the client. Full subscription refreshes and proxy provider refreshes have separate settings. The former may change rules and group names; the latter refreshes a specific node source without replacing the full config. The example below sets an existing HTTP proxy provider to refresh once a day; the interval is in seconds. If you edited the remote config before updating, move any changes you want to keep into a supported client override or local copy first.
The same subscription won’t necessarily work in every client. Check your device’s operating system, architecture, and subscription format before choosing an installer. If you already have a client that can read the config, test a copy before switching software just to change one field. For a comparison of features, maintenance status, and core support, see the client selection guide.
Check your system type under Settings → System → About, then match it to the architecture on the download page. When migrating from an older client, back up your local config and overrides, quit the old app, and then start the new one. If both apps try to use the same local port, the config may load even though the proxy service won’t start. For your first test, use only one traffic-interception method. Make a new request in your browser, then check whether it appears in the connection list.
Choose an installer for an architecture supported by your device. If you’re unsure, check whether the client offers a universal build. On the first connection, you’ll usually need to approve the system VPN permission. If another VPN is already running on your phone, disconnect it before testing. If the connection works in the foreground but drops when the screen locks, check the app’s background activity restrictions rather than assuming the subscription has expired.
Open the store listing from the download page and make sure your device meets the system requirements. After installing, import and select a config, start a connection, and approve the VPN configuration prompt. To verify it’s working, check the app—not just the system status—and confirm which subscription is active. If the same device works on mobile data but not Wi-Fi, record both test results and first check whether the current network can reach the subscription URL and test address.
Check About This Mac to see whether your device has an Apple chip or an Intel processor, then choose the matching installer. After installing, you can start by testing with the system proxy, which is honored by apps that follow system settings. If your browser connects but a command-line tool has no connection record, check how that tool reads proxy settings. Only test TUN separately if you need a different traffic-interception setup, so you don’t mix up the two options while troubleshooting.
On desktop Linux, check the package formats supported by your distribution, then confirm the CPU architecture. On a headless server, you can use the mihomo core directly; make sure the account running it can read the config directory. When troubleshooting a service, first confirm that the core loaded the expected file, then check the local listener and app settings. Running the command successfully in a terminal doesn’t mean the system service uses the same working directory.
Check the client, core, and config source separately.
How Clash, Clash Meta, and mihomo relate
Clash began as a project for handling proxies and routing with config files. Its cores and graphical clients later evolved independently. Clash Meta was subsequently renamed mihomo, which continues to use Clash-style YAML config. Older guides often conflate app names, core names, and config formats. When looking up information, first identify which layer it covers: installers, import buttons, and system-level traffic handling belong to the client; supported fields and rule matching are primarily determined by the core.
A client mentioned on an older page may not suit a newer device. For example, a screenshot of Clash for Windows can help you recognize that app’s menus, but it doesn’t show whether another client currently supports the same features. When switching apps, look for sections such as Config, Proxy, Connections, and Logs, then consult the relevant documentation. Different button labels don’t mean you need to buy a new subscription. Whether you can reuse your config depends on the format and fields the new client supports.
Check behavior against source code and issue reports
The mihomo source code is licensed under GPL-3.0. Commits in the core repository can show when a config behavior changed, while issue reports can help establish whether a symptom is specific to one environment or has already been reproduced. These sources are more useful for verifying behavior than a single UI screenshot, but neither the license nor commit history can verify where a particular build came from. Each client is a separate project, so check its maintenance status, license, and distribution method independently.
The command below clones the mihomo source into a mihomo folder in the current directory. Git must be installed on your machine. This is for browsing the code; it does not download or install the client. If you only need to check the syntax, start with the config field reference and put uncertain fields in a minimal example. Once the example loads, move the fields into your actual config one at a time.
Terminal · Get mihomo source code
git clone https://github.com/MetaCubeX/mihomo.git
First, determine whether the issue is in the client or the core
The client imports and selects a config, passes intercepted requests to the system, and displays runtime status. The core reads the active config and handles connections, rules, and DNS. For example, “Import successful” in the UI only means the client received content it could save. Next, check whether the config is active, whether the core accepted it, and whether new requests appear in the connection list. Verifying each stage separately usually reveals where the process stopped.
If the same subscription behaves differently on two computers, compare the core and config each one is actually using instead of relying on the subscription name. The client may merge local ports, DNS settings, or proxy overrides into the effective config. If the UI says connected but an app still can’t connect, test a repeatable request. If it appears in the connection list, check the matched rule and exit; if it doesn’t, check whether the app follows the system proxy or is being intercepted. Change one setting at a time so you can tell what made a difference.
Update the config, core, and client separately
Refreshing a subscription fetches the config from its original URL and may change rules, group names, or nodes. Updating the core can change supported fields and runtime behavior. Upgrading the client may change permissions and how overrides are merged. Don’t combine all three changes in the same troubleshooting session. If an issue starts just after a subscription refresh, check whether the original proxy groups are still there and whether local overrides refer to renamed groups. If the problem began after an app upgrade, start by checking the config path in use and the core logs.
For routine maintenance, keep a recent local config that worked and note which parts came from overrides. After manually refreshing a subscription, use the same test URL to compare the matched rule and proxy group in the connection log. Then decide whether to change the update interval. If an import fails, keep only the first error message after removing sensitive details. If the error occurs while reading the file, check indentation or field types first. If the config loads but won’t connect, check the upstream server, exit, and system-level traffic handling.
Recent articles / More to explore
Clash subscription and client tips
For a server that needs to stay up, start with the config directory and service account. If a subscription won’t import, first identify what the URL returns. If a phone disconnects only when the screen locks, check background restrictions. Choose an article for the issue you’re facing; there’s no need to read them in order.
For Linux desktops and headless servers, this guide covers where to place the mihomo binary, config directories, systemd startup, and connecting an external control panel.
Compare Clash YAML subscriptions, Base64 node lists, and converted links. Follow import steps for desktop and mobile, and learn how to set the update interval.
Explore mobile battery drain caused by scheduled tests, DNS queries, and manufacturer battery-saving policies, with tips for background permissions and test intervals.