Cross-Platform Setup Guide
From installation and subscription import to troubleshooting — a complete flow for Windows, macOS, Android and iOS.
Windows: Install Clash Verge Rev (Recommended)
Download the installer
Get the Windows build of Clash Verge Rev from the download page. Most users want the x64 build.
Complete installation
Double-click the .exe and follow the prompts. If antivirus software blocks it, temporarily disable the antivirus before installing.
Import subscription
Open Clash Verge Rev, click "Profiles" on the left, paste your subscription URL and click Import. Click the profile to activate it.
Enable system proxy
Click "Settings" on the left, turn on "System Proxy". Choose "Rule" mode for smart split routing.
macOS: Install ClashX Pro / Clash Verge Rev
Download the installer
Get ClashX Pro or Clash Verge Rev (aarch64 for M-series, x64 for Intel) from the download page.
Install and trust the developer
Double-click the .dmg and drag the app to Applications. If macOS blocks it, go to System Settings → Privacy & Security and click "Open Anyway".
Import subscription
Click the menu-bar cat → Config → Remote config → Manage. Add your subscription URL and click Download.
Enable system proxy / Enhanced Mode
Click the menu-bar icon → "Set as system proxy". For full-traffic proxy, enable "Enhanced Mode".
sudo xattr -rd com.apple.quarantine /Applications/ClashX\ Pro.app to remove the quarantine flag.Android: Install Clash for Android / FlClash
Download and install the APK
Get CFA or FlClash from the download page. Regular users should pick the Universal build; 64-bit devices can use arm64-v8a. First-time users must allow installs from unknown sources.
Import subscription
Open the client, tap "+" → URL, paste your subscription and tap Create. Tap Update to fetch the latest nodes.
Start the proxy
Tap Start on the main screen and allow the VPN connection. The VPN icon in the status bar means it's active.
iOS: Install Clash Plus / Shadowrocket
Switch to a US Apple ID
Sign out of your current Apple ID in the App Store and sign in with a US account (create one if needed).
Download the app
Search "Clash Plus" or "Shadowrocket" in the US App Store and install.
Import subscription
Open the app, tap "+" → Subscribe → paste the URL → Done. Nodes will populate automatically.
Enable the proxy
Toggle the switch on and allow the VPN configuration. When the icon turns green, the proxy is active.
Config Syntax Guide
Overall config structure
Clash uses YAML. The main fields are:
# Basic network settings
port: 7890 # HTTP proxy port
socks-port: 7891 # SOCKS5 proxy port
mixed-port: 7892 # Combined port
allow-lan: false
mode: rule # rule / global / direct
log-level: info
external-controller: 127.0.0.1:9090
dns:
enable: true
enhanced-mode: fake-ip
nameserver:
- 223.5.5.5
- 8.8.8.8
proxies: [...]
proxy-groups: [...]
rules: [...]
Node (proxies) examples
Shadowsocks
proxies:
- name: "SS-Hongkong"
type: ss
server: hk.example.com
port: 8388
cipher: aes-256-gcm
password: "your_password"
Trojan
- name: "Trojan-Japan"
type: trojan
server: jp.example.com
port: 443
password: "your_password"
sni: jp.example.com
Proxy groups
Proxy groups define selection strategy — manual, url-test, load balance, etc.
proxy-groups:
- name: "Node Select"
type: select
proxies:
- "Auto"
- "SS-Hongkong"
- DIRECT
- name: "Auto"
type: url-test
url: http://www.gstatic.com/generate_204
interval: 300
proxies:
- "SS-Hongkong"
- "Trojan-Japan"
Routing rules
rules:
# Ad blocking
- DOMAIN-KEYWORD,adservice,REJECT
# Direct
- DOMAIN-SUFFIX,baidu.com,DIRECT
- GEOIP,CN,DIRECT
# Proxied
- DOMAIN-SUFFIX,google.com,Node Select
- DOMAIN-SUFFIX,youtube.com,Node Select
# Fallback
- MATCH,Node Select
Ready to get started?
Download the Clash client and follow this tutorial step by step.
Free Download