Windows
Find your system type in Settings → System → About, then choose the matching installer.
Go to downloadsChoose a client for your device, then use the Chinese interface to import a subscription and route traffic by rules.
Start with the language, theme, and startup options.
View settingsRoute traffic by domain and address, and check rule order one entry at a time.
View rulesIf an app ignores the system proxy, check whether TUN mode is capturing its traffic.
TroubleshootingFree and open source. Import a subscription to get started. See the complete setup guide
config.yaml / Settings and configuration reference
allow-lan: false
mode: rule
tun:
enable: false
rules:
- DOMAIN-SUFFIX,example.com,DIRECT
- MATCH,DIRECT
First, distinguish interface preferences, traffic capture, and routing rules. The interface language controls menu labels; the system proxy or TUN mode determines which requests reach the client; rules determine where those requests go. Switch tabs to compare where each setting lives with its configuration syntax.
Open Settings and find Interface language under General or Appearance. Select Simplified Chinese. If prompted to reload, follow the prompt before reopening the configuration page. This changes menus and prompts only; it does not rename subscriptions, proxy groups, or rules. Some clients follow the system language, while others save their own preference. If there is no language option in the menu, check your system's app language settings and confirm that the client supports Chinese. Don't edit subscription files just to change the interface; those files are read by the core.
mode: rule
rules:
- DOMAIN-SUFFIX,example.com,DIRECT
- MATCH,Proxy
Switch to Rule mode and check the order of rules in the active configuration, from top to bottom. For requests received by the core, the first matching rule determines the route. Put domains that need special handling above broader rules, and leave the catch-all rule last. The example's Proxy entry must match a group name in your configuration. Unlike Global mode, Rule mode lets you send specific services direct while routing other requests through a proxy group. Save, reconnect, and test the same address. Check the rule name in connection details instead of relying only on whether the page loads.
proxy-groups:
- name: Proxy
type: select
proxies:
- DIRECT
Rules can point to a group, where your selection determines the final route. Open Proxies, check which group a connection matched, then choose an option in that group. The example uses the built-in DIRECT for direct connections only; it does not include a working remote proxy. Manual groups are useful when you want a fixed route. URL-test groups select based on test results, while fallback groups try candidates in order until one is available. Test results do not guarantee how every site will perform. After switching, verify with a new connection; existing sessions may continue using the previous route.
tun:
enable: true
stack: mixed
auto-route: true
The system proxy covers only apps that honor proxy settings. Use TUN mode when other apps also need to send traffic through the client. First quit other tools that may be capturing the same traffic, then open Settings, enable TUN mode, and complete any system authorization prompts. Keep the stack recommended by the client and test the apps that did not work before, one at a time. Broader traffic capture does not mean every request will use a proxy; rules still determine the route. If local services become unreachable, turn TUN mode off to restore connectivity, then check routing and subnet exceptions.
Under Subscription or Profiles, add a remote configuration and paste the Clash subscription URL from your provider. Wait for the download to finish, then select the configuration. If you have a local YAML file, import it directly instead of entering a URL. Local files are easy to keep and restore; remote subscriptions can refresh on a schedule, and updates may overwrite edits made directly to the subscription. To keep custom rules long term, use the client's override feature and check the active configuration after updates. If import fails, read the error message. Don't share subscription URLs that contain access credentials.
log-level: info
allow-lan: false
mode: rule
In the client's About or Core page, check whether it is running Mihomo, the core formerly known as Clash.Meta. A similar-looking interface does not mean the clients support the same protocols or configuration fields: the GUI imports, edits, and displays configuration, while the core parses it, matches rules, and makes connections. When migrating from another client, start with the original configuration and check the first error in the logs, then make changes one at a time using the documentation for the relevant core. Restore the normal log level when finished, and remove subscription URLs and account details before sharing log excerpts.
Before downloading, check your operating system and processor architecture, then confirm that the client supports the configuration format and traffic-handling mode you need. For desktop use, start with a GUI client. If you only need to run rules on a server, look for a standalone core on the download page.
Find your system type in Settings → System → About, then choose the matching installer.
Go to downloadsCheck About This Mac to see whether you need an Apple silicon or Intel package.
Go to downloadsChoose an APK for your device’s architecture and grant VPN permission on first connection.
Go to downloadsCheck device and iOS compatibility in the App Store before installing.
Go to downloadsPick a package that matches your distribution’s package format and processor architecture.
Go to downloadsFirst, use an existing configuration to establish a connection. Customize your rules afterward. Change one setting at a time so you know what to undo if something goes wrong.
On the download page, choose a client that matches your operating system and architecture. Install it, open the main window, and make sure you can access Settings. When migrating, back up your old client configuration before quitting the old client; closing its window may not stop the process in the system tray.
Under Profiles or Subscription, add a URL or local YAML file. Wait for the import to finish, then select the configuration you want to use. Open Proxies and check that the proxy groups have loaded. A configuration appearing in the list means it was imported, not necessarily activated.
Select Rule mode. On desktop, test with an app that supports the system proxy; on mobile, grant permission when prompted. Visit a known destination, then check its domain, matched rule, and route on the Connections page. If no request appears, check how traffic is being captured before switching nodes.
Clash is an ecosystem of clients, not one installer with different names for each operating system. To identify which project a problem belongs to, first determine whether it occurs in the GUI, the core, or the subscription configuration.
The original Clash project popularized using configuration files to define proxies, proxy groups, and rules. Clash.Meta expanded that configuration approach with additional protocols and networking features, and is now maintained as Mihomo. Menu screenshots and field descriptions in older guides may not match current clients. For features with similar names, check which project's documentation applies. Successfully importing a configuration only means the client accepted the file; whether it can start also depends on whether the core can parse its fields.
Tray menus, interface language, saving configurations, and installation are usually handled by the GUI client; configuration parsing, rule matching, and connection behavior are more likely to involve the core. Before reporting an issue, note your operating system, client name, core in use, steps that caused the error, and the first relevant log entry. If only one subscription fails, compare it with a minimal local configuration before contacting the configuration provider. When sharing logs, keep fields and value types that help reproduce the issue, but remove subscription URLs, authentication details, and private IP addresses.
Some GUI clients merge overrides and generate the runtime configuration before launch, so the original subscription may differ from what the core actually reads. Keep a copy of the original configuration when migrating. For unknown-field or missing-proxy-group errors, first check the generated configuration, group names, and references. Don't change multiple settings at once. A client opening, a configuration loading, and a request using the intended route are three separate checks.
An app update may change the interface or permission flow; a core update may change configuration parsing or connection behavior; a subscription refresh updates the content from its provider. These updates don't necessarily happen together. Before upgrading, keep a configuration that connects successfully. Afterward, check that the app starts, the core accepts the configuration, and the same destination uses the expected rule and route. If a problem starts right after a subscription refresh, check the active configuration and override history first; there's no need to reinstall the whole client straight away.
Choose a guide for your task: start with platform setup for a new mobile configuration, compare clients when switching, or troubleshoot startup if the main window won't open.
Start by getting a client from the App Store, then import a subscription, grant system permission, and make your first connection. If the configuration imports but won't connect, retrace the steps and check that it's active.
Compare platform support, core, Chinese interface, and TUN support. See which differences matter for first-time setup, multi-device use, and advanced configuration.
Start with the first error in the startup logs. Check configuration syntax, port conflicts, missing core files, and system permissions one by one to avoid losing configuration through repeated reinstalls.