1. Choose an Installer for Your OS and CPU
Start with a desktop client, then check that its core supports your subscription. Mihomo is a proxy core; clients such as Clash Verge Rev add subscription management, policy selection, and system proxy controls. Downloading the core executable by itself does not give you a graphical interface.
| Platform | What to check | How to choose |
|---|---|---|
| Windows | Settings → System → About → System type (the label may vary by version) | Choose x64 for an x64 processor; for ARM, use the client’s native ARM64 package if available. |
| macOS | Apple menu → About This Mac → Chip or Processor | Choose arm64 for Apple silicon; choose x64 or x86_64 for an Intel processor. |
| Linux | Run uname -m, then check your distribution | x86_64 corresponds to amd64, and aarch64 to arm64. Debian and Ubuntu commonly use DEB packages; Fedora commonly uses RPM. |
| Android | Check your OS version and the ABI listed on the release page | Choose the matching APK for systems that support arm64-v8a. If you’re unsure of the ABI, use the universal APK if the release page offers one. |
| iOS | Check the supported configuration format and minimum OS version | Install a compatible client from the App Store. Being able to add a subscription link does not necessarily mean it can import Clash YAML as-is. |
If you see “This app can’t run on your PC” or “There was a problem parsing the package,” check the architecture, minimum OS version, and file type first. Changing nodes or proxy ports won’t fix an installation problem if the app hasn’t even opened.
2. Grant Permissions for Your Connection Mode
Desktop: Test the system proxy before trying TUN
Leave TUN off on the first launch. After importing a configuration, find the System Proxy toggle on the client’s main screen and test it with a browser that follows the system proxy. The system proxy is an OS setting used by supported apps; it does not capture every process. If a terminal tool bypasses the proxy, that doesn’t mean the browser setup has failed.
Try TUN only if you need to handle apps that ignore the system proxy. TUN receives traffic routed to it through a virtual network interface; permission requirements depend on your OS and client. Windows clients may ask to install or start a service, while Linux may require access to /dev/net/tun and permission to change network routes. Follow the client’s instructions, and don’t disable system security protections just to install it.
Mobile: Check which VPN is currently active
When you first enable traffic capture on Android or iOS, read the system prompt to connect to a VPN or add a configuration. Check which app made the request before allowing it. If your device already has a work VPN or a filtering app that uses a local VPN, check whether you can pause the existing connection before switching. On Android, search Settings for “VPN” and check whether the existing app has “Always-on VPN” enabled. On iOS, check VPN status under Settings → General → VPN & Device Management. Ask your administrator to confirm settings on managed devices.
3. Import, Update, and Activate a Subscription
- Choose the right import method. In the client’s Subscription or Profiles page, import a Clash- or Mihomo-compatible subscription from its remote URL. Choose local import for a YAML file the client explicitly supports. A regular webpage URL, a single-node share link, and a configuration subscription are different types of input.
- Run an update manually. Check for client errors and make sure a new entry appears in the configuration list. If you get a
401or403, check your subscription access and link expiration first. If the link opens a login page, make sure you didn’t copy the account dashboard URL. For YAML parse errors, check the field or line number in the log, then confirm that the client and core support the format. - Switch to the new configuration. A successful download only means the configuration was saved. Select the new entry and confirm it’s now shown as the active configuration on the main screen. Then open the Proxy page to see which policy groups actually loaded. If you only see a DIRECT option, check the active configuration and subscription contents before reinstalling the client.
- Keep a working configuration. Don’t delete your existing configuration before the first test. Updating a remote configuration may overwrite local changes. To keep your edits, use an override feature explicitly supported by the client, or save a separate local copy to test.
A subscription URL’s path or query string may contain an access token. Before sharing screenshots or logs, hide the full URL, account details, and authentication information. The error code and field reported are usually enough for troubleshooting.
4. Check Local Ports Before Enabling the Desktop Proxy
Open the client’s port settings and note the mixed port currently in use. mixed-port accepts both HTTP and SOCKS proxy requests on the same port. The examples below use 7890; it isn’t the default for every client. The controller port is not the port to enter as your browser proxy.
A startup message says the port is already in use
If the log shows address already in use, first check which listening port triggered the error. If it’s the mixed port, use this command in Windows PowerShell to find the process. Replace 7890 with the port shown in the log.
Get-NetTCPConnection -LocalPort 7890 -State Listen |
Select-Object LocalAddress, LocalPort, OwningProcess
Match the returned OwningProcess to the PID in Task Manager’s Details tab. On macOS, use lsof -nP -iTCP:7890 -sTCP:LISTEN; on Linux, use ss -ltnp 'sport = :7890'. If it’s an old client, exit it normally from its interface. If the process needs to keep running, set the current client to an unused port—for example, check that 7891 is free—then save and restart the core if needed.
After changing the port, check whether the system proxy still points to the old one. Update any proxy settings you entered manually in a browser or terminal, too. For local use, set the manual proxy address to 127.0.0.1 and the actual listening port, and leave Allow LAN disabled. Enabling LAN access won’t resolve a port conflict.
5. Choose a Routing Mode and Test Traffic
Check traffic capture and routing mode separately. The system proxy, TUN, or a mobile VPN determines whether traffic reaches the client. Rule, Global, and Direct modes determine how traffic is handled after it gets there. Switching to Global won’t route a program that isn’t connected to the client in the first place.
- Rule mode: Best for everyday use. The core checks rules in order; when a rule matches a policy group, the group’s currently selected node or policy handles the traffic. Check the connection log to see what matched before deciding which group to change.
- Global mode: Use it for a quick comparison. Make sure the global group is set to a working node, not
DIRECT, then retry the same address. If Global works but Rule doesn’t, check the matching rule and its policy group first. - Direct mode: Use it to check whether requests received by the client can connect directly. It does not turn off the system proxy or TUN. To restore your normal network connection, disable traffic capture using the relevant toggle.
Verify with a new connection
- Open an HTTPS page that should work without a proxy and confirm your basic connection is working. Then enable your chosen traffic capture method and check for new requests on the client’s Connections page.
- Open an address expected to match a proxy policy, then check the domain, matched rule, and actual outbound connection. Browsers may reuse existing connections. After changing modes, retry in a new browser session and compare the connection logs by time.
- If the browser works but a terminal behaves differently, test the HTTP proxy directly on desktop with
curl --proxy http://127.0.0.1:7890 -I https://example.com/, replacing the port with the actual mixed port. In Windows PowerShell, callcurl.exeexplicitly. This command tests only that request; it does not change global proxy settings.
6. Troubleshoot Based on Where the Issue Occurs
- The core won’t start: Check the startup log for configuration parsing, port binding, or permission errors. Switching policy groups repeatedly won’t help at this stage.
- The core is running, but the target request isn’t in the connection list: Check whether the browser has its own proxy settings, whether the address is on the system bypass list, and whether a mobile VPN is still active.
- The request appears, but the node times out: Try another node in the same policy group and retry the same address. Change one thing at a time; changing DNS, ports, and rules together makes it hard to tell what fixed the issue.
- The browser loses connectivity after you exit: Check whether the system proxy still points to a local port that is no longer listening, then restore the system or browser proxy settings from before the test. After using TUN or a mobile VPN, test the disconnect process too and make sure your normal connection comes back.
Use “configuration is active, requests match the expected policy, and the network recovers after disconnecting” as your first-install acceptance criteria. Once everything checks out, enable automatic subscription updates and launch at startup. If parsing errors or connection timeouts persist, see DNS troubleshooting or Logs and connection troubleshooting for guidance.