Why Move to ClashX
At the end of 2023 the popular Clash for Windows (CFW) project was discontinued and its GitHub repository removed. For users who relied on CFW—especially those on macOS—finding a maintained replacement quickly became critical.
Unmaintained software no longer receives security patches or bug fixes, leaving you exposed. Switch to an actively maintained tool as soon as possible.
Reasons to Migrate
- Security risk: no more security patches, potential vulnerabilities stay unpatched
- Compatibility: new macOS releases and system updates are no longer supported
- Feature freeze: modern протокол проксиs and features never arrive
- Community support: official channels are gone, so help is hard to find
- Future proofing: only active projects guarantee long-term stability
Why ClashX
ClashX is one of the most mature Clash clients on macOS and brings several advantages:
- Native macOS app optimized for Apple Silicon
- Ongoing maintenance with frequent fixes and community support
- Open-source transparency and trustworthy security
- Completely free—no paid tiers, all features unlocked
- Подписка/config compatibility with CFW formats
- Full feature set: движок правил, режим TUN, DNS tuning, and more
Pre-Migration Preparation
Before switching, export everything important from Clash for Windows so the transition is seamless.
Step 1: Export Подписка Links
Your подписка URLs are essential—keep them safe:
- Open Clash for Windows
- Click the “Profiles” tab on the left
- Locate the profile you currently use
- Right-click the profile and choose “Copy URL” or view its details
- Store the ссылка подписки somewhere secure (a пароль manager is ideal)
If you have multiple subscriptions, export each URL separately. They usually start with http:// or https:// and include your provider credentials.
Step 2: Back Up Custom Config Files
If you use custom rules or файл конфигурацииs, back them up:
- In CFW, open the “Profiles” tab
- Right-click the profile and choose “Open Folder”
- Copy the .yaml/.yml file to a safe location
- Copy any custom rules directories as well
迁移过程中最怕遗漏文件。Acronis True Image 可以在迁移前对整个系统做全盘镜像,万一迁移出问题也能一键回滚到迁移前的状态。(联盟推广)
Step 3: Record Important Settings
Write down the following settings so вы можете recreate them in ClashX:
- Proxy ports: HTTP and SOCKS5 ports (usually 7890/7891)
- System режим прокси: Global / Rule / Direct
- режим TUN: enabled or not
- DNS configuration: серверы and mode
- Launch at login: whether auto-start was enabled
✓ Подписка links exported ✓ Config files backed up ✓ Critical settings noted ✓ Стабильный internet ready for downloading ClashX
Download and Install ClashX
Installing ClashX takes only a few minutes. Follow the steps below.
Download ClashX
Official download options (recommended):
- Visit the ClashX website: https://clashx.tech/download
- Or open GitHub Releases: ClashX GitHub
- Download the latest .dmg installer
Установка Steps
- Open the .dmg: double-click the downloaded ClashX.dmg file
- Drag to install: drop the ClashX icon into Applications
- First launch: find ClashX in Applications and choose “Open” via right-click
- Security prompt: macOS may warn “Cannot verify developer” — click “Open”
- Install helper: ClashX requests helper privileges; enter your macOS пароль to approve
ClashX requires helper permissions to manage системный прокси settings. This is standard for any macOS прокси-клиент. Always download from official sources to stay safe.
Initial Setup
Once installed you’ll see the ClashX cat icon in the строка меню:
- Click the menu-bar icon
- Leave “Set as системный прокси” unchecked until configuration is done
- Open “Config” → “Open Config Folder” to review file locations
Import Подписка Configurations
This is the most important migration step. ClashX fully supports CFW подписка formats, so importing is straightforward.
Method 1: Import via Подписка Link (Recommended)
- Open config manager: строка меню icon → “Config” → “Управляемая конфигурация” → “Manage”
- Add подписка: click the “+” icon in the bottom-left corner
- Paste the подписка URL you exported from CFW
- Name the config something recognizable (e.g., “Primary Подписка”)
- Click “OK” and ClashX downloads the configuration automatically
- Select the newly imported config to activate it
Method 2: Import Local Config File
Use this if you have custom YAML configs or cannot access the ссылка подписки:
- Строка меню icon → “Config” → “Open Config Folder”
- Copy the backed-up .yaml file from CFW into this folder
- Return to ClashX and click “Config” → “Reload Config”
- Choose the imported config under the “Config” menu
Verify the Config
- Open the “Режим исходящего трафика” menu from the ClashX icon
- Confirm вы можете see Global / Rule / Direct modes
- Open the “Proxies” menu to view node groups
- Make sure every сервер node appears correctly
If the “Proxies” menu lists all nodes and вы можете pick different outbound modes, the import worked. Now вы можете check “Set as системный прокси” and start using ClashX.
Configuration Reference Table
Terminology differs between CFW and ClashX. Use the table below to find equivalent features quickly.
| Функция | Clash for Windows | ClashX | Notes |
|---|---|---|---|
| 系统代理 | System Proxy | 设置为系统代理 | 勾选后启用系统代理 |
| 代理模式 | Mode: Global/Rule/Direct | 出站模式:全局/规则/直连 | 功能完全相同 |
| 节点选择 | Proxies 标签页 | 代理 菜单 | 在菜单栏选择节点 |
| 配置管理 | Profiles 标签页 | 配置 → 托管配置 | 管理订阅和配置文件 |
| 配置文件夹 | Profiles → Open Folder | 配置 → 打开配置文件夹 | 查看配置文件位置 |
| 日志查看 | Logs 标签页 | 显示实时日志 | 查看连接日志 |
| 延迟测试 | Speed 按钮 | 代理 → 延迟测试 | 测试所有节点延迟 |
| 增强模式 | TUN Mode | 增强模式 | 需要辅助程序 |
| 开机启动 | General → Start with Windows | 设置 → 开机启动 | 自动启动设置 |
| 仪表板 | Dashboard 按钮 | 控制台 → Yacd Dashboard | Web 控制面板 |
| 端口设置 | General → Port | 配置文件中修改 | 默认 7890/7891 |
| 规则集 | Rules 标签页 | 查看配置文件 | 在配置文件中查看 |
Быстрая навигация
Where to find common actions inside ClashX:
- Enable proxy: строка меню icon → check “Set as системный прокси”
- Switch nodes: строка меню icon → Proxies → choose a group → select a node
- Update subscriptions: строка меню icon → Config → Управляемая конфигурация → Manage → select config → Update
- Latency test: строка меню icon → Proxies → Benchmark (or run tests in Dashboard)
- View logs: строка меню icon → Show В реальном времени Log
Migration FAQ
These are the issues most users encounter while migrating.
Q1: No nodes after importing the подписка?
Try the following:
- Make sure the подписка URL is correct and not expired
- Verify your сеть can reach the provider’s сервер
- Manually update the config: Config → Управляемая конфигурация → Manage → Update
- Check the realtime log for detailed error messages
- If the link contains special characters, encode it before pasting
Q2: ClashX shows “connection failed” and nothing loads?
Potential causes:
- System proxy disabled: ensure “Set as системный прокси” is checked
- No node selected: pick an active node under “Proxies”
- Port conflict: confirm ports 7890/7891 aren’t in use by other apps
- Брандмауэр blocking: allow ClashX in System Settings → Конфиденциальность & Security → Брандмауэр
- Config errors: validate the YAML syntax
Q3: TUN (Enhanced) mode won’t turn on?
Fixes:
- Ensure the helper was installed during first launch
- If not, click “Install” → “Install Assistant”
- Enter your admin пароль to grant permission
- Restart ClashX and enable Расширенный режим again
Q4: Can I keep CFW and ClashX running together?
Running two прокси-клиентs simultaneously causes port conflicts and proxy-setting confusion. Finish the migration, verify ClashX works, then uninstall CFW.
Q5: ClashX feels slower than CFW—what now?
Оптимизация Tips:
- Run тест задержкиs and pick the fastest node
- Enable DNS optimizations inside your config
- Disable unnecessary набор правилs to reduce overhead
- Limit heavy scripts or plugins
- Temporarily switch to Global mode for a speed comparison
Q6: Certain apps still bypass the proxy?
Solutions:
- Enable Enhanced/режим TUN so all трафик is captured
- Add explicit rules for those applications or domains
- Use режим TUN for apps that ignore системный прокси settings
Q7: How do I fully uninstall Clash for Windows?
After you confirm ClashX works properly:
- Quit Clash for Windows
- Delete Clash for Windows.app
- Optionally remove its config folder (keep a backup for a short time)
- Reset системный прокси settings if anything remains
Post-Migration Оптимизация
Fine-tune ClashX with the following suggestions.
Foundational Tweaks
- Enable launch at login so ClashX starts automatically
- Schedule тест задержкиs to auto-select the best node
- Configure auto-update intervals (24h recommended)
- Try experimental options like interface-name auto-detection
Производительность Focus
- Use Fake-IP mode to accelerate DNS lookups
- Simplify набор правилs and remove unused entries
- Leverage the GeoIP database for precise routing
- Enable TCP Fast Open to shorten handshake time
Security Enhancements
- Keep ClashX updated to the latest release
- Enable HTTPS if you expose the web dashboard
- Treat ссылка подпискиs as secrets—never share them publicly
- Set a strong пароль for the dashboard if remote access is enabled
Advanced Recommendations
If you’re comfortable with YAML, consider:
- Building custom набор правилs for precise трафик control
- Using Rule Providers to keep rules up to date automatically
- Designing группа проксиs to implement load balancing
- Leveraging scripts for bespoke logic
Итоги
Migrating from CFW to ClashX is both simple and worthwhile. While CFW’s retirement is unfortunate, ClashX offers tighter macOS integration and continued updates.
Migration Recap
- Preparation: export subscriptions and back up configs
- Установка: download ClashX and authorize the helper
- Configuration: import subscriptions and confirm node availability
- Оптимизация: tweak settings for better производительность and security
Why ClashX Stands Out
- Native macOS build with full Apple Silicon support
- Open-source, active community, frequent releases
- Completely free yet feature-rich
- High config compatibility keeps migration costs low
- Excellent производительность with minimal resource usage
Keep a CFW backup for 1–2 weeks after migrating so вы можете roll back if needed. For any issues, reference this FAQ or open an issue on the ClashX GitHub repository.
• ClashX Official Docs – tutorials • ClashX GitHub – с открытым исходным кодом repo • Clash configuration reference – Clash Wiki