Six steps from installed to working
Written in the order you actually do them, with what you should see after each one. Step two is where people get stuck most, so its failure modes are listed at the end.
01/ The flow
Six steps, in order
You do not need to understand rule sets, DNS or fake-ip first. Get traffic flowing, then fill in the details.
-
1
Install it and let it run
Pick the package for your architecture from the table on the download page. Double-click on Windows, drag into Applications on macOS, allow unknown sources before installing the APK on Android.
If macOS says the developer cannot be verified on first launch, right-click the app and choose Open. Once is enough.
-
2
Add a subscription
Open Profiles, add one, and paste the entire subscription link from your provider, then update. On success the profile shows how many nodes were parsed.
Already have a Clash config? Use Import from file and point it at the local YAML. No subscription yet? The providers page lists a few third-party services.
-
3
Choose a run mode
There are three. Rule sends traffic according to the rules in your config — the everyday choice. Global sends everything through the proxy nodes. Direct proxies nothing, which is useful to check whether the client itself is the problem.
-
4
Turn on TUN
TUN takes over all system traffic with a virtual interface, so even apps that ignore the system proxy go through it. Desktop asks for authorization once; Android shows a VPN connection prompt.
If only browsers and other system-aware apps need to proxy, the system proxy is enough — no TUN required.
-
5
Confirm the exit actually changed
Run the network check and see whether the exit IP and region match your node. Then check that Active connections on the home screen is non-zero. Both good means traffic is going through the proxy.
If the exit did not change but connections are non-zero, a rule is sending it direct. Check the matched rule under Debug.
-
6
Let it run for weeks
On desktop enable launch at login and “keep running when the window closes” in the tray. On Android allow background activity and remove battery optimisation for the app. If the core exits abnormally it restarts itself and leaves the reason in the UI.
02/ Concepts
TUN or system proxy
The system proxy is for software that respects system network settings: browsers and most download tools read it, but some games, terminal programs and apps that manage their own networking do not. TUN catches every IP packet at the system level, which covers more ground at the cost of an extra virtual interface.
In practice: rule mode plus TUN for daily use, configured once. Fall back to the system proxy only when TUN conflicts with something, such as certain virtual machines or packet-capture tools.
You can enable both — the client points the system proxy at the TUN entry — but then troubleshooting gets harder because you cannot tell which layer is doing the work.
- System proxy: lightweight, but only affects software that reads it
- TUN: covers all traffic, needs one system authorization
- Both: convenient, but keep only one while debugging
03/ Configuration
What a subscription actually is
A subscription is a URL that returns a Clash / Mihomo YAML: a node list, proxy groups and routing rules. The client fetches it periodically, so when your provider changes nodes, one update on your side syncs it.
Some providers hand out a Base64 universal subscription instead, which the client also detects and converts. If neither is recognised, the link was usually truncated, had whitespace pasted into it, or the subscription itself was reset.
How rules are written, how groups nest, and how DNS works with fake-ip are core concerns — collected on the Mihomo core page.
04/ Troubleshooting
The four places people get stuck
The subscription will not import. What now?
It says the port is in use
TUN is on but some app still bypasses the proxy
Do I have to start it manually every day?
Still stuck
More answers are in the FAQ. If you are sure it is a client bug, attach the debug log and open an issue at GitHub Issues with your platform, version and reproduction steps.