Skip to main content
EN

Home / Blog / Installation

Uninstalling Clash Verge properly and clearing what it leaves behind

Uninstalling Clash Verge properly and clearing what it leaves behind

Uninstalling Clash Verge is easy enough, but it leaves more behind than an ordinary application: a system proxy setting, a virtual network adapter, a background service and a config directory. Skip the cleanup and you get "I uninstalled it and the network is still broken".

Follow this order and it comes out clean.

The correct orderTurn things off inside the appsystem proxy and TUNUninstall the system servicethere is a button in settingsUninstall the programnormal uninstall flowRemove the config directoryoptional, depending on whether you want to kCheck for leftoversproxy setting, virtual adapter
Steps one and two cannot be swapped — doing so greatly raises the chance of leftovers

Step zero: three things to do inside the app first

This is the most important step. Do it and the rest is painless.

Before uninstalling, open Clash Verge and:

  1. Turn off System Proxy
  2. Turn off TUN mode
  3. Settings → Service Mode → click Uninstall

Then quit properly from the tray (not by killing the process).

Windows

Uninstall the program

Settings → Apps → Installed apps → find Clash Verge → Uninstall.

Control Panel's "Programs and Features" does the same thing.

Remove the config directory

%APPDATA%\io.github.clash-verge-rev.clash-verge-rev

Paste that into the File Explorer address bar and press Enter. Delete the whole folder.

Other places leftovers may sit:

%LOCALAPPDATA%\io.github.clash-verge-rev.clash-verge-rev
C:\Program Files\Clash Verge          (delete by hand if it survives the uninstall)

Check whether the system proxy is still on

Settings → Network & Internet → Proxy → look at "Use a proxy server" under manual setup. If it is still on, turn it off.

Faster from the command line:

Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" | Select-Object ProxyEnable, ProxyServer

ProxyEnable should be 0. If it is 1, set it back:

Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyEnable -Value 0

Check for a virtual adapter

If you used TUN mode there may be a virtual adapter left.

Device Manager (Win+X → Device Manager) → Network adapters → look for anything named Mihomo, Clash or wintun. Right-click and uninstall the device.

You can also check from the command line:

Get-NetAdapter | Where-Object {$_.InterfaceDescription -like "*wintun*" -or $_.Name -like "*Mihomo*"}

Check for a background service

Get-Service | Where-Object {$_.Name -like "*verge*" -or $_.Name -like "*mihomo*" -or $_.Name -like "*clash*"}

If one survives:

# run as administrator
Stop-Service -Name "service-name" -Force
sc.exe delete "service-name"

Check startup entries

Task Manager → Startup apps, and disable any Clash Verge leftovers.

Or in the registry:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

Last resort: reset the network stack

If you have done all of the above and the network is still wrong, run these three as administrator and reboot:

ipconfig /flushdns
netsh winsock reset
netsh int ip reset

macOS

Remove the app

Drag /Applications/Clash Verge.app to the Trash.

Clean up config and support files

# configuration
rm -rf ~/Library/Application\ Support/io.github.clash-verge-rev.clash-verge-rev

# cache
rm -rf ~/Library/Caches/io.github.clash-verge-rev.clash-verge-rev

# preferences
rm -f ~/Library/Preferences/io.github.clash-verge-rev.clash-verge-rev.plist

# logs
rm -rf ~/Library/Logs/clash-verge

Remove the privileged helper

Clash Verge installs a helper to change system proxy settings:

# see whether it is still registered
sudo launchctl list | grep -i verge

# remove it (use the actual service name from the output above)
sudo launchctl bootout system/io.github.clash-verge-rev.service
sudo rm -f /Library/LaunchDaemons/io.github.clash-verge-rev.service.plist
sudo rm -rf /Library/PrivilegedHelperTools/io.github.clash-verge-rev.service

Check the system proxy

System Settings → Network → your connection (Wi-Fi or Ethernet) → Details → Proxies

Untick "Web Proxy (HTTP)", "Secure Web Proxy (HTTPS)" and "SOCKS Proxy" → OK.

From the command line:

networksetup -getwebproxy "Wi-Fi"
networksetup -getsecurewebproxy "Wi-Fi"

Turning them off:

sudo networksetup -setwebproxystate "Wi-Fi" off
sudo networksetup -setsecurewebproxystate "Wi-Fi" off
sudo networksetup -setsocksfirewallproxystate "Wi-Fi" off

Check network extensions

System Settings → General → Login Items & Extensions → scroll to Network Extensions and disable any Clash Verge leftover.

Linux

Remove the program

# DEB family
sudo apt remove --purge clash-verge

# RPM family
sudo dnf remove clash-verge

# AppImage
rm -f ~/Apps/Clash-Verge.AppImage
rm -f ~/.local/share/applications/clash-verge.desktop

Clean up configuration

rm -rf ~/.local/share/io.github.clash-verge-rev.clash-verge-rev
rm -rf ~/.config/clash-verge
rm -rf ~/.cache/clash-verge

Remove the systemd service

sudo systemctl stop clash-verge-service 2>/dev/null
sudo systemctl disable clash-verge-service 2>/dev/null
sudo rm -f /etc/systemd/system/clash-verge-service.service
sudo systemctl daemon-reload

Remove the autostart entry

rm -f ~/.config/autostart/clash-verge.desktop

Clear proxy environment variables

Check these files for leftovers:

grep -n "proxy" ~/.bashrc ~/.zshrc ~/.profile 2>/dev/null

Delete the relevant lines, then source ~/.bashrc or open a new terminal.

Check the desktop proxy setting

# GNOME
gsettings get org.gnome.system.proxy mode
# if it is not 'none', reset it:
gsettings set org.gnome.system.proxy mode 'none'

Check for a leftover virtual adapter

ip link show | grep -i -E "tun|utun|Mihomo"

If one remains:

sudo ip link delete <adapter-name>

Post-uninstall checklist

Confirming it is cleanOrdinary sites load (meaning the proxy setting is gone)The proxy toggle in system settings is offNo stray virtual adapter in Device Manager No clash, verge or mihomo service runningNo leftover startup entryThe config directory is deleted, or backed up elsewhere

The usual problem: no internet at all after uninstalling

99% of the time this is a leftover system proxy setting — it still points at 127.0.0.1:7897, but nothing is listening there any more, so every request goes nowhere.

Follow the "check the system proxy" section for your platform. It takes about thirty seconds.

If you are switching clients rather than leaving

If you are only moving from Clash Verge to something else (Clash Nyanpasu, FlClash desktop), your subscription URL works as-is — nothing needs doing on the provider side.

Note the URL before uninstalling, install the new client, paste it in.

In short

The order that matters: turn off the proxy and TUN inside the app, uninstall the service, then uninstall the program.

And if it has already gone wrong, nothing is unrecoverable — every leftover can be cleared by hand, and the common "no internet" case just needs the system proxy toggle turned off.

Related: auto-launch and tray settings and the Windows install guide.