How to Install Clash on Windows and Set Up the System Proxy: From Download to Startup
Install Clash on Windows, import a subscription, configure the system proxy, and enable startup. Troubleshoot antivirus blocks, permission issues, and proxy failures.
Choose a Windows Installer and Launch Clash for the First Time
This guide uses Windows 11 and Clash Verge Rev 2.x. Menu locations and translations may vary slightly between client versions. First make sure the client launches successfully, then import your subscription. Configure the system proxy and startup options afterward.
- Check your system architecture. Open Windows Settings → System → About, then look under Device specifications for System type. If it says “x64-based processor,” choose the x64 installer. For an ARM processor, choose an installer explicitly marked as supporting Windows ARM64. If the client doesn’t offer a matching build, check the project documentation—“64-bit” doesn’t mean x64 and ARM64 are interchangeable.
- Install the client and open it. Get a compatible Windows installer from a trusted source, follow the setup wizard, then launch the client from the Start menu. If its icon is in the taskbar notification area but no window appears, click or right-click the tray icon and look for “Show window.” There’s no need to run the installer again.
- Note your existing proxy settings. In Windows Settings, go to Network & Internet → Proxy and check for a manual proxy or setup script. On a personal device, note the original settings so you can restore them after testing. If your work device already uses an organization-managed proxy, check with your administrator before changing anything.
Antivirus Blocks or Insufficient Permissions During Installation
First, identify the source of the warning. A SmartScreen reputation warning is different from a threat detected by Defender. For a SmartScreen warning, return to the original download source and verify the publisher and installer. If the project says the installer is signed, check its signature under Properties → Digital Signatures. For a Defender detection, open Windows Security → Virus & threat protection → Protection history and review the detection name, time, and affected file. If the source is unclear or the detection hasn’t been resolved, stop the installation. Don’t turn off real-time protection or add your entire Downloads folder to exclusions.
If Windows asks for administrator approval during installation, verify the program named in the prompt, then have an authorized account approve it. Once installed, importing subscriptions and testing the system proxy usually don’t require running the client as administrator all the time. If a work or school device restricts installations, background services, or proxy changes, ask your administrator about the policy instead of repeatedly trying to elevate privileges.
Import a Subscription, Apply the Config, and Choose a Proxy
- Import a Clash-compatible subscription. Open the Subscriptions page in Clash Verge Rev and paste the Clash- or mihomo-compatible subscription URL provided by your service into the import field, then click “Import.” For a local
.yamlor.ymlfile, use the page’s local config import option. Subscription URLs often contain access credentials—don’t post one in a public support ticket or include it in a screenshot. - Switch to the config you just imported. Seeing a subscription card only means it’s been added to the list. Select it and confirm it’s marked as the active config, then open the Proxies page and check that the proxy groups match the new config. If switching fails with a parse error, start with the first config error in the client log. Don’t change rules and test at the same time.
- Choose the actual exit node. Set the mode to Rule, then find the proxy group that should handle your traffic on the Proxies page. In a manual group, select an available node; in an auto-select group, check which node is currently selected.
DIRECTin a proxy group means a direct connection, not a remote node. Changing a group’s node also doesn’t mean every rule sends requests through that group.
Enable the Windows System Proxy and Check Your Traffic
Keep TUN (virtual network adapter) disabled. In Clash Verge Rev, open Settings and enable System Proxy. Then go to Windows Settings → Network & Internet → Proxy and check Manual proxy setup. A common loopback address is 127.0.0.1. For example, if the client shows a mixed port of 7897 and uses it for the system proxy, Windows should show address 127.0.0.1 and port 7897. This is just an example for comparison; use the values shown in your client.
- Open a browser that uses the system proxy, such as Microsoft Edge with no separate proxy settings or proxy extension, and visit a site that should use the proxy under your current rules.
- Return to the Connections page in the client and find the request you just made by its destination domain. Check the matched rule, proxy group, and final exit. A page loading successfully only confirms the request worked; if the connection shows
DIRECT, it didn’t go through a remote node. - Now visit a site that should connect directly under your rules and confirm it shows as direct. Testing both proxied and direct traffic can reveal a fallback rule or a misconfigured proxy group. If no new connection appears, close the test page and try again. Also check that the Connections page doesn’t have an old filter applied.
The system proxy only affects apps that use that setting. An app may have its own proxy settings—or may not read the Windows system proxy at all—so your browser could show connection records while the app doesn’t. Check the app’s network settings and supported protocols first, then decide whether you need TUN. For browser proxying alone, TUN usually isn’t necessary.
Clash Proxy Not Working? Check the Port, Then the Rules
| Symptom | Check first | Next step |
|---|---|---|
| Browser says the connection was refused after enabling the proxy | Windows proxy port, client port, and core logs | Make sure the client is running and Windows isn’t pointing to an old port. If the log says the port is already in use, check whether another proxy client is still running in the background. |
| The page loads, but the connection shows DIRECT | The rule and group matched by this connection | Check whether the destination domain should connect directly. If not, see whether an earlier rule matched first or the group has DIRECT selected. |
| Browser works, but one app can’t connect | The app’s network settings and the client’s connection list | Check whether the app uses the system proxy. If it needs manual proxy settings, enter the local address and port for a protocol the app supports. |
| Web pages stop loading after quitting the client | The manual proxy toggle under Windows Settings → Proxy | If it still points to a local port that’s no longer listening and you don’t need a manual proxy, turn the setting off. On a device with pre-existing proxy settings, restore the original configuration. |
Use PowerShell to Check Whether the Local Port Is Listening
In a standard PowerShell window, run the command below and replace 7897 with your current proxy port. If TcpTestSucceeded is False, first check whether the core has started and whether the port is correct. If it’s True, the local port is reachable, but that doesn’t confirm Clash is listening on it or that your subscription nodes are working. Next, check the client logs and the Connections page.
Test-NetConnection -ComputerName 127.0.0.1 -Port 7897
If you really need TUN, test it separately. If enabling it reports a missing service or insufficient permissions, check Service Mode in the client’s Settings and follow the instructions for your version to install or start the service. Approve system permission prompts only on devices you’re authorized to manage. During testing, leave the system proxy off so the browser doesn’t keep using it and make it look as though TUN is handling the traffic.
Enable Clash at Startup and Verify After Restart
- First, enable client startup. In Clash Verge Rev, open Settings and enable Start on startup. This usually launches the client after you sign in to Windows; it doesn’t mean the proxy will handle network traffic before you enter your password. If your version has a “Start minimized” option, leave it off for now so you can confirm the client starts properly.
- Check that the startup entry isn’t disabled. Press Ctrl + Shift + Esc to open Task Manager, then go to Startup apps. If the client registers a visible startup entry, make sure it’s enabled. If you can’t find it, restart once to test before adding a shortcut to the Startup folder—you could end up launching the client twice.
- After restarting, verify the app and proxy separately. Sign in to Windows and check the tray icon or Task Manager to confirm the process is running. Then verify the active config, system proxy toggle, and port. Finally, make a browser request and confirm a new record appears on the Connections page. A tray icon doesn’t mean the proxy is working; the client may have started without restoring the previous system proxy state.
If the proxy points to a local port after restart but the client isn’t in the tray and nothing is listening on that port, restore your original Windows proxy settings so the browser can connect again, then check the startup entry. If the client is running and manually enabling the system proxy works right away, focus on restoring the proxy after sign-in rather than reimporting the subscription. If you only need the proxy occasionally, leave client startup enabled and turn on the system proxy manually after signing in.