Clash Tutorials
Full-Platform Guide
From installation to daily use, covering Windows, macOS, Android, iOS, and Linux. Includes subscription import, TUN mode setup, and routing modes. Get started in 5 minutes.
Download & Install Clash Verge Rev
Go to our Download Page and get the Clash Verge Rev Windows x64 installer (.exe). Most Windows 10 / 11 users should choose x64; choose ARM64 for devices like Surface Pro X.
Run the .exe installer and follow the prompts. Once installed, find the Clash Verge icon in your Start menu or desktop and launch it.
Importing Subscriptions (Node Configuration)
Clash requires a Subscription URL from your service provider (Airport). Follow these steps to import it into Clash Verge Rev:
- Click "Profiles" in the left menu
- Click the "New" button at the top right
- Paste your subscription link into the "URL" field
- Enter a name (e.g., "My Provider") and click "Save"
- Click the refresh icon on the profile card and wait for the update to complete
Choosing Routing Mode & Enabling System Proxy
Go to "Settings" in the left menu, find "System Proxy", and choose your preferred mode:
After selecting "Rule Mode", enable the "System Proxy" switch. Your browser and most apps will now use the proxy.
(Advanced) Enable TUN Mode for Full Traffic Proxy
Standard system proxy only affects supported apps (like browsers). To proxy all TCP/UDP traffic (including games and CLI tools), enable TUN Mode:
- Right-click the Clash Verge Rev icon in the taskbar and select "Run as administrator"
- Go to "Settings" → find "TUN Mode" and turn it on
- If prompted to install a virtual network adapter (WinTun), click "Allow"
- Once enabled, all network traffic will be processed by Clash
Other Windows Clients
Download & Install Clash Verge Rev
Visit our Download Page and choose the version matching your chip:
- Apple Silicon (M1 / M2 / M3 / M4): Download Apple Silicon (.dmg)
- Intel Chip (pre-2020 Macs): Download Intel x64 (.dmg)
Check your chip type: Click Apple Logo → About This Mac → Processor/Chip.
Open the .dmg and drag Clash Verge to your Applications folder.
Handling macOS Gatekeeper Warnings
On first launch, macOS might say "Developer cannot be verified". This is standard Gatekeeper security; it doesn't mean the app is unsafe.
Solution: Go to "System Settings" → "Privacy & Security", scroll down to find the blocked app, and click "Open Anyway".
sudo xattr -rd com.apple.quarantine /Applications/ClashVerge.app
Importing Subscription & Updating Nodes
In Clash Verge Rev: Click "Profiles" → "New" → Paste URL → Save → Click the refresh icon to load nodes.
In "Proxies", select your preferred node or use the "Auto" group.
(Advanced) Enable TUN Mode for Full Proxy
TUN mode on Mac requires a network extension. Toggle "TUN Mode" in Settings and provide your system password when prompted.
If blocked, go to "Privacy & Security" and click "Allow" for the extension, then retry in Clash Verge Rev.
Other macOS Clients
Download & Install APK
Go to the Download Page. Use arm64-v8a for most modern phones; use Universal if unsure.
Since this is an APK, you must allow installation from unknown sources:
- Go to "Settings" → "Security"
- Find "Install unknown apps" or "Unknown sources"
- Enable for your browser or file manager
- Open the APK and tap Install
Importing Subscriptions
Launch Clash Meta for Android and tap "Profiles":
- Tap the "+" button at the top right
- Select "URL"
- Paste your subscription link
- Enter a name and tap "Save & Update"
- After downloading, tap the profile to activate it
Select Node & Start VPN
Tap "Proxies" to see nodes. We recommend choosing a low-latency node or using the "Auto" group.
Go to the "Dashboard" and tap the "Stopped" button to start. Allow the VPN permission request from the system.
Other Android Clients
Purchase & Download Stash
After switching to a foreign Apple ID, search for "Stash" in the App Store, or use the link on our Download Page (approx. $3.99, one-time purchase).
Once downloaded, tap the Stash icon on your home screen to launch the app.
Importing Clash Subscriptions
Launch Stash and tap the "Config" tab at the bottom:
- Tap the "+" button at the top right
- Select "Download from URL"
- Paste your Clash subscription link and give it a name
- Tap "OK" to download and import the configuration
- Once finished, tap the checkmark next to the profile to activate it
Select Node & Start Proxy
Tap "Policy" or "Proxies" at the bottom to choose a node or use an auto-test group.
Return to the "Home" tab and toggle the main switch. Tap "Allow" if prompted to add VPN configurations, and confirm with Face ID / Touch ID.
Shadowrocket Setup
Install Clash Verge Rev
Visit our Download Page and get the package for your distribution, then run the installation command:
sudo dpkg -i clash-verge-rev_*.deb
sudo rpm -i clash-verge-rev_*.rpm
After installation, find Clash Verge in your app menu or launch it by typing clash-verge in the terminal.
Importing Subscription & Config
The UI is identical to Windows/macOS: Click "Profiles" → "New" → Paste URL → Save & Update.
In "Proxies", choose a node, then go to Settings and enable "System Proxy".
http_proxy.
(Advanced) Enable TUN Mode for Full Proxy
TUN mode on Linux requires root privileges or specific capabilities. We recommend one of the following:
sudo clash-verge
sudo setcap cap_net_admin=ep $(which clash-verge)
After configuration, enable "TUN Mode" in Clash Verge Rev to proxy all system traffic transparently.
Other Linux Clients
Download Mihomo Binaries
Visit our Download Page and choose the version for your architecture:
.exe file; keep it in the same directory as your config.After extracting the mihomo binary, grant it execution permissions:
chmod +x mihomo
Preparing config.yaml
Mihomo uses YAML config files to define nodes and rules. Default directory: ~/.config/mihomo/ (Linux/mac) or %USERPROFILE%\.config\mihomo\ (Windows).
The easiest way is to download a config directly from your Clash Subscription URL:
mkdir -p ~/.config/mihomo && curl -L "https://Your Subscription Link" -o ~/.config/mihomo/config.yaml
If writing manually, here is a minimal config.yaml structure:
mixed-port: 7890 # HTTP + SOCKS5 mixed proxy port
allow-lan: false # Allow LAN connections
mode: rule # Proxy Mode: rule / global / direct
log-level: info
external-controller: 127.0.0.1:9090 # API port for Web Dashboards
proxies: # Node list (auto-fetched)
- name: "Example Node"
type: ss
server: example.com
port: 443
cipher: chacha20-ietf-poly1305
password: "your-password"
proxy-groups: # Policy Groups
- name: "PROXY"
type: select
proxies: ["Example Node"]
rules: # Routing Rules
- GEOIP,CN,DIRECT
- MATCH,PROXY
Launching Mihomo Core
Once config.yaml is in the default directory, simply run the binary:
./mihomo
./mihomo -d /path/to/config/directory
On success, you will see Start initial compatible provider default. At this point:
- The HTTP/SOCKS5 proxy port (default
7890) is ready. Point your apps to127.0.0.1:7890 - The RESTful API port (default
9090) is active for Web Dashboards
https://d.metacubex.one) to manage nodes and rules visually. Connect using http://127.0.0.1:9090.
(Linux Server) Configure as systemd Service
For Linux servers, use systemd for auto-start and background management:
sudo mv mihomo /usr/local/bin/mihomo
sudo mkdir -p /etc/mihomo
sudo cp config.yaml /etc/mihomo/config.yaml
[Unit]
Description=Mihomo Proxy Service
After=network.target
[Service]
Type=simple
ExecStart=/usr/local/bin/mihomo -d /etc/mihomo
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable mihomo
sudo systemctl start mihomo
sudo systemctl status mihomo
tun: field in config.yaml and root privileges. See the Official Wiki for details.
Advanced Mihomo Resources
https://d.metacubex.one and enter your local API address (default http://127.0.0.1:9090).Core Concepts Explained
Understanding these concepts will help you configure Clash more effectively.
What is a Clash Subscription?
A subscription is a URL provided by your service (Airport) that contains node configurations (server address, port, keys). Clash uses this to automatically fetch and update your node list.
You only need the URL; Clash handles the rest. We recommend enabling "Auto-update" to keep your nodes current.
https://your-airport.com/api/v1/client/subscribe?token=xxxxxxxx
Proxy Modes Explained
System Proxy vs. TUN Mode
- Sets the OS HTTP/HTTPS proxy ports
- Only works for apps that respect system settings (browsers)
- Doesn't require admin / root privileges
- Games, certain apps, and UDP traffic may bypass the proxy
- Creates a virtual NIC to intercept all system traffic
- All application traffic is processed by the Clash core
- Requires admin / root privileges
- Games, CLI tools, and UDP traffic work perfectly
Clash FAQ
Common questions about Clash configuration and usage, with quick solutions.
How do I import a Clash subscription? Where do I paste the URL?
Clash Verge Rev (Win/Mac/Linux): Profiles → New → Paste URL → Save → Click refresh.
Clash Meta for Android: Profiles → + → URL → Paste link → Save & Update.
Stash (iOS): Config → + → Download from URL → Paste link → OK.
FLClash (All platforms): Home → + icon → Paste URL → Confirm.
Clash is connected but pages won't load, or it's very slow. What should I do?
1. Check System Proxy: Importing isn't enough; you must enable "System Proxy" in settings or ensure TUN mode is active.
2. Test Latency: Go to the Proxies page, run a speed test, and choose a low-latency (green) node. Avoid timed-out nodes.
3. Switch to Global Mode: If it works in Global but not Rule mode, your rule set may be broken. Update your subscription to get the latest rules.
4. Check Subscription Status: Ensure your data hasn't run out and the subscription hasn't expired.
How do I set Clash to start automatically on boot?
Clash Verge Rev (macOS): Enable "Start on Boot" in Settings → General, or add it to Login Items in System Settings.
Clash Meta for Android: Allow the app to auto-start in system settings and disable battery optimization to prevent the system from killing the background process.
Are Clash subscription links universal across all clients?
If your provider only gives SS/V2Ray links, you can usually switch to Clash format in their dashboard. Stash and Shadowrocket on iOS are also fully compatible with Clash formats.
Local websites are slow after enabling Clash. How to fix?
Solution: Switch to "Rule Mode". Rule mode uses a database to decide traffic flow: local traffic stays direct (full speed), while global traffic uses the proxy. If local sites are still slow, refresh your subscription to update the routing rules.
Does the Clash client collect my data or browsing history?
Your privacy depends on your proxy provider's (Airport) logging policy, not the client itself. Always download from official GitHub releases to ensure file integrity.
What's the difference between Clash Meta, Premium, and Original?
Clash Meta (Mihomo): The active community successor. It supports newer protocols like Hysteria2 and Reality and is the core used by all clients on this site.
Clash Premium: A closed-source enhanced version of the original, also discontinued. We recommend all users migrate to Clash Meta.
Haven't downloaded Clash yet?
Free and open-source for all platforms. Get the official installers for Windows, macOS, Android, iOS, and Linux. No ads, no bundles, 100% secure.