Check System type in Windows Settings to confirm your architecture, then choose an installer. On first launch, try testing with an app that follows the system proxy without enabling TUN. If the browser connects but another app does not, check whether that app uses its own network settings. If an older client configured the system proxy, turn off its setting before quitting to avoid two processes competing for the same port.
Clash Meta core GPL-3.0 open source
Clash client downloads
and configuration reference
Find installers for every platform and use the config.yaml walkthrough to understand proxy nodes, proxy groups, and routing rules.
- Installation & import
- Field reference
- Connection troubleshooting
One config.yaml, five sections
From local entry points and DNS resolution to outbound selection. General is a category for common fields, not a top-level YAML key.
CONFIG.YAML / FIELD INDEX
Five sections of a configuration file
Start by confirming how traffic enters the core, then trace which outbound it selects. Following this order makes issues easier to isolate than changing ports, DNS, and nodes all at once. Each snippet illustrates specific fields; they are not meant to be combined into a complete configuration. The example ports and domains are not client defaults.
General settings: ports and operating mode
mixed-port accepts both HTTP and SOCKS proxy requests on the same port, so browsers and other apps can share a local entry point. allow-lan controls whether devices on your local network can access the proxy; leave it off for local-only use. mode: rule routes connections entering the core according to rules, but does not configure the system proxy for your apps. If a connection is refused, check the actual listening port shown by the client, then compare it with the address and port configured in the app.
mixed-port: 7890
allow-lan: false
mode: ruleDNS: resolution mode and upstream servers
dns.enable toggles the core's DNS feature, while nameserver lists the upstream resolvers. With fake-ip, the core can return a mapped address to an app and recover the original domain when handling the connection. Requests from apps using their own resolver may not pass through this setup. If a domain fails to load but its IP address works, first check which resolution path the request takes, then confirm the upstream resolver is reachable.
dns:
enable: true
enhanced-mode: fake-ip
nameserver:
- 1.1.1.1Proxy nodes: protocols and connection parameters
proxies is the list of nodes. name is used to reference a node from a proxy group, type determines how the following parameters are interpreted, and server and port point to the upstream service. Successfully importing a node only means the configuration can be read; verify protocol support and upstream reachability separately when connecting. This example uses a different local port to illustrate the fields. It will connect only if a SOCKS5 service is actually running there.
proxies:
- name: Local upstream example
type: socks5
server: 127.0.0.1
port: 1080Proxy groups: outbounds for routing rules
Point rules to a proxy group so you can change the outbound without rewriting the rules. A select group is useful for manual selection; automatic test groups choose members based on probe results, which may not reflect how an app actually performs. The group's proxies field contains referenced names, not node definitions. When renaming a node, update both the group membership and any rules that reference it, or stale names can cause the configuration to fail to load.
proxy-groups:
- name: Manual selection
type: select
proxies:
- DIRECTRouting rules: evaluated in order
In rule mode, the core checks rules from top to bottom and uses the outbound from the first match. Put exact-domain rules before suffix rules that could match them; MATCH serves as the fallback. This example uses reserved domains to show the order: reject the exact match and send other domains with the same suffix directly. To check a live configuration, first find the matching rule in the connection log, then inspect the proxy group it references.
rules:
- DOMAIN,blocked.example,DROP
- DOMAIN-SUFFIX,example,DIRECT
- MATCH,DIRECTCLIENTS / PLATFORM DOWNLOADS
Choose an installer by operating system
Identify your device and system architecture before comparing clients. For subscription management, proxy switching, and connection logs, start with a client that has a graphical interface. Consider a standalone core only if you need to run a fixed configuration on a server.
Check About This Mac to identify your chip and distinguish Apple silicon from Intel. The connection status in the menu bar is separate from proxy settings for the active network service. After starting the client, confirm that the settings have been applied to the Wi-Fi or Ethernet service in use. If the issue occurs only after switching networks, check the new network's proxy settings rather than reinstalling the client.
Choose a package for an app architecture supported by your device. If the download page offers a universal package, start there if you are unsure of your architecture. On the first connection, Android usually displays a VPN permission prompt. If the connection drops only after the screen locks, check whether the system restricts the client's background activity. If it is replaced as soon as it connects, check for another VPN service running on the device.
Open the App Store from the download page, review the compatibility notes, then follow the client's prompts to add a VPN configuration. The VPN status only confirms that a tunnel is established; it does not mean every outbound in your subscription is usable. For your first test, select an imported configuration and check the active outbound in the proxy group view. If it fails, note whether the problem is an import error, a permission issue, or a connection timeout.
Filter desktop clients by distribution, package format, and architecture. Environment variables set in a terminal are passed only to the relevant child processes, and desktop apps may not use the same settings. If a graphical app behaves differently from the terminal, check the proxy entry point for each separately. For service use, also verify that the service account can read the configuration and check the listening address in the startup log.
Before switching clients, keep a copy of a working local configuration, then migrate the subscription and custom rules separately. Subscription URLs, proxy group selections, and client system settings are usually stored in different places, so moving one configuration file may not carry over everything. Not sure what needs to move? Start with the client comparison.
View all clients →UPSTREAM / OPEN-SOURCE PROJECTS
Clash, Clash Meta, and Mihomo
The download page is organized by client; the configuration reference is organized by core capabilities. When you encounter a new field or compatibility issue, first distinguish client features from core features, then check the relevant documentation, release notes, or issue tracker.
Project history: from Clash to Mihomo
Early versions of Clash used a single configuration to define proxies, proxy groups, and routing rules. Multiple clients later adopted this structure, so terms from older tutorials still appear in today's interfaces. Clash.Meta expanded the configuration system with more protocols and networking capabilities, and is now maintained under the name Mihomo. The name change does not mean every older example needs rewriting. Likewise, a legacy client that can read a rule list may not recognize fields added later.
When reading older tutorials, first determine whether they explain general matching behavior or a feature specific to a particular core generation. General concepts can be tested with simple rules; for generation-specific features, check the core currently used by your client. For example, if an older guide does not mention a DNS option, that only means the guide does not cover it—not that the current core lacks support.
Open-source ecosystem: verify upstream information
The Mihomo core is open source under GPL-3.0. Commits in the public repository can help track changes to field descriptions and implementation behavior, while issue reports can show whether a problem is already known. For troubleshooting, start with a specific, recognizable error—such as a port binding failure or a missing rule reference—and look up the relevant project record. A generic “connection failed” message in the interface usually cannot tell you whether the problem lies in the subscription, DNS resolution, or the outbound connection.
Client interfaces are maintained as separate projects, with release schedules and licenses that may differ from the core. This site organizes download links and configuration guides; supported platforms, license terms, and release changes should be confirmed on the relevant project or store page. When reporting an issue to the community, include reproducible steps and relevant logs, but remove subscription URLs, credentials, and unrelated connection records.
How the core fits in: who generates the config, who runs it
A graphical client imports subscriptions, manages local files, and presents system proxy or tunnel controls. The core loads the configuration, resolves domains as needed, matches rules, and establishes connections. Some clients merge subscriptions with local overrides before launch, so the text shown in a subscription editor may not be the final configuration received by the core. If a change appears to have no effect, first identify the active configuration and any client-applied overrides.
Keep configuration status separate from connection status. A successful parse only confirms that the structure and some fields passed validation; you still need to verify that the app is using the proxy, names are resolving correctly, and the selected outbound is reachable. Check a specific request in the connection log rather than guessing which rule matched based on a flood of background traffic.
Updates: keep the app, core, and subscription separate
Updating the installer changes the client itself and may also replace the bundled core. Refreshing a subscription fetches a new configuration or set of nodes from the provider. Some clients manage the core or rule resources separately as well. An update reported as successful confirms only that particular step; it says nothing about the other components. If a subscription downloads but shows no nodes, inspect the response and configuration format instead of repeatedly reinstalling the client.
To investigate a change after an update, change one thing at a time. Keep the last working configuration, note whether you updated the client, core, or subscription, then test with the same app and destination. If the error occurs during startup, start with the first relevant log entry. If it appears only after a subscription refresh, compare the group names, references, and fallback rules before and after.
Get the Mihomo source code
This command fetches the upstream source code for reviewing the implementation and project documentation. For everyday use, choose a packaged client from the downloads page.
git clone https://github.com/MetaCubeX/mihomo.git
Three questions to ask before configuring
Why are there no nodes in the client after installation?
The installer provides the runtime environment; nodes come from an imported configuration or subscription. First, confirm that an entry appears in the configuration list and is selected, then check whether the proxy groups show any available members. If you copied a webpage or login page instead of a subscription URL supported by the client, it may report a parsing error. See the subscription import steps.
What's the difference between enabling the system proxy and selecting rule mode?
The system proxy setting determines which apps that follow system settings send requests to the client. Rule mode determines which outbound the core uses for those requests. Start by checking that a request from one app appears in the connection log, then see which rule matched. If the request is missing from the log, check the entry point before changing routing rules. See the connection and verification steps.
Will refreshing a subscription overwrite manually added rules?
It depends on where the client saves your edits. Changes made directly to a subscription-generated file may be overwritten on the next refresh; local overrides or separate configurations provided by the client usually use a different mechanism. After refreshing, check the rules in the final loaded configuration, especially whether custom entries still appear before the fallback rule. See configuration sources and import notes.
NOTES / TECHNICAL GUIDES
Configuration and troubleshooting guides
Start with the issue at hand: connecting LAN devices to a local port, checking which subscription formats a client accepts, or finding the right logs when the startup window disappears.
Clash mixed-port and allow-lan settings: share a computer's proxy with phones and TVs
Learn how mixed-port handles HTTP and SOCKS5, how allow-lan works with bind-address, and how to configure proxy settings and firewall access for devices on your local network.
Read article →Clash YAML, Base64 node lists, and share links: subscription formats explained and converted
Compare the structures of Clash YAML configurations, Base64-encoded node lists, and vmess/trojan share links. See which formats clients support and what to watch for when mapping fields during local conversion.
Read article →Clash client crashes on launch: check core logs, port conflicts, and leftover configuration
If the client crashes immediately or its window vanishes on launch, start with the core logs. Then check port conflicts, corrupted configuration files, permissions, and missing system components, with recovery steps for each.
Read article →