Clash — 让网络世界畅通无阻 Clash — Navigate the Network Seamlessly

开源、高效、跨平台的网络代理内核,支持多种协议,拥有活跃的社区生态。为全球用户提供灵活、可靠的网络分流解决方案。 An open-source, efficient, cross-platform network proxy kernel supporting multiple protocols with a thriving community ecosystem. Providing flexible and reliable network routing solutions for users worldwide.

v1.18.7 · 2026-06-01 更新· Updated 2026-06-01 · 支持 Windows 10+ / macOS 12+ / Linux· Windows 10+ / macOS 12+ / Linux
⭐ 68k+ Stars 🔒 SHA256 可验证 📜 MIT 开源

核心特性Core Features

了解为什么 Clash 成为数百万用户的首选网络工具 Discover why Clash is the preferred network tool for millions of users

🧭

规则驱动分流Rule-Based Routing

灵活的分流策略,支持按域名、IP 地址、应用进程名称进行精细化流量调度,确保每一条连接都走最优路径。Flexible routing strategies supporting fine-grained traffic scheduling by domain, IP address, and application process name, ensuring every connection takes the optimal path.

🔌

多协议支持Multi-Protocol Support

全面支持 SS、SSR、Vmess、Trojan、Hysteria2、TUIC 等主流代理协议,兼容性强,满足不同网络环境需求。Full support for SS, SSR, Vmess, Trojan, Hysteria2, TUIC and other major proxy protocols with strong compatibility for diverse network environments.

📊

可视化管理面板Visual Dashboard

内置实时流量监控仪表盘,清晰展示连接状态、速率图表与延迟统计,让网络状况一目了然。Built-in real-time traffic monitoring dashboard with clear connection status, speed charts, and latency statistics for at-a-glance network insights.

🌐

跨平台内核Cross-Platform Kernel

Clash Meta 等衍生内核持续演进,提供更丰富的扩展功能,覆盖 Windows、macOS、Linux、Android、iOS 全平台。Clash Meta and other derivative kernels continue to evolve with richer extensions, covering Windows, macOS, Linux, Android, and iOS platforms.

选择你的平台,开始使用Choose Your Platform & Get Started

所有下载均提供 SHA256 校验值,确保文件安全完整 All downloads include SHA256 checksums to ensure file integrity and security

Clash Verge Rev (Windows x64)(Windows x64)

最新Latest v2.2.3 · 2026-05-28 · ~85 MB · .exe
校验信息 (SHA256)Checksum (SHA256)
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Clash Verge Rev (macOS Universal)(macOS Universal)

最新Latest v2.2.3 · 2026-05-28 · ~92 MB · .dmg
校验信息 (SHA256)Checksum (SHA256)
a7ffc6f8bf1ed76651c14756a061d662f580ff4de43b49fa82d80a4b80f8434a

Clash Verge Rev (Linux AppImage)(Linux AppImage)

最新Latest v2.2.3 · 2026-05-28 · ~78 MB · .AppImage
校验信息 (SHA256)Checksum (SHA256)
d4e2c1b9a3f87e6d5c0b1a2e3f4d5c6b7a8e9f0d1c2b3a4e5f6d7c8b9a0e1f2d3

Clash Meta for Androidfor Android

最新Latest v2.10.1 · 2026-05-20 · ~18 MB · .apk
⚠️ Android 客户端需侧载安装,请在系统设置中允许「安装未知来源应用」。下载后请校验 SHA256。 Android client requires sideloading. Please enable “Install unknown apps” in system settings. Verify SHA256 after download.
校验信息 (SHA256)Checksum (SHA256)
b8f9e0d1c2a3b4e5f6d7c8b9a0e1f2d3c4b5a6e7f8d9c0b1a2e3f4d5c6b7a8e9f0

iOS 客户端推荐Recommended iOS Clients

需通过 TestFlight 或侧载安装 Via TestFlight or sideloading
⚠️ iOS 平台因 App Store 政策限制,无官方上架应用。推荐通过 TestFlight 参与测试版,或使用侧载工具安装。请参阅详细教程获取最新指引。 Due to App Store policy restrictions, there is no official iOS app. We recommend joining TestFlight beta programs or using sideloading tools. Please refer to detailed tutorials for the latest guidance.
→ 查看配置导入教程→ View Config Import Tutorial

Clash Meta 内核 (命令行)Kernel (CLI)

最新Latest v1.18.7 · 2026-06-01 · ~12 MB
校验信息 (SHA256)Checksum (SHA256)
f1e2d3c4b5a6e7f8d9c0b1a2e3f4d5c6b7a8e9f0d1c2b3a4e5f6d7c8b9a0e1f2d3

最新资讯与更新日志Latest News & Changelog

关注 Clash 生态的最新动态与版本发布 Stay updated with the latest Clash ecosystem news and releases

查看更多 →View All →

社区与资源Community & Resources

探索 Clash 生态中的优质资源与社区讨论 Explore quality resources and community discussions in the Clash ecosystem

常见问题解答Frequently Asked Questions

精选最常被问到的6个问题,助你快速解决疑惑 Top 6 most frequently asked questions to help you quickly resolve doubts

🔍 Clash 和 Clash Meta 有什么区别?🔍 What’s the difference between Clash and Clash Meta?
  1. 了解原始 Clash 项目:原始 Clash 项目由 Dreamacro 开发,是一款优秀的网络代理内核,但已于2023年停止更新,不再接收新功能和安全补丁。
  2. 认识 Clash Meta 的诞生:Clash Meta(原名 mihomo)是由社区驱动的分支,继承了 Clash 的全部功能并持续迭代,目前已发展为最活跃的 Clash 分支之一。
  3. 对比功能差异:Clash Meta 新增了 Hysteria2、TUIC、VLESS 等现代协议支持,而原始 Clash 仅支持较旧的协议栈,功能上 Meta 更加丰富。
  4. 了解支持的协议:Clash Meta 完整支持 Shadowsocks、Vmess、Trojan、Hysteria2、TUIC、WireGuard 等协议,兼容性远超原版。
  5. 查看性能对比:Clash Meta 在内存管理、并发连接处理和规则匹配效率上均有显著优化,适合高负载场景使用。
  6. 做出选择建议:对于新用户和寻求持续更新的用户,强烈推荐使用 Clash Meta 及相关衍生客户端,它们代表了 Clash 生态的未来方向。
  1. Understand the original Clash: The original Clash project by Dreamacro is an excellent proxy kernel, but it stopped updating in 2023 with no further features or security patches.
  2. Learn about Clash Meta’s origin: Clash Meta (formerly mihomo) is a community-driven fork that inherits all Clash features and continues to iterate, now the most active Clash branch.
  3. Compare feature differences: Clash Meta adds modern protocol support like Hysteria2, TUIC, and VLESS, while the original only supports older protocol stacks.
  4. Review supported protocols: Clash Meta fully supports Shadowsocks, Vmess, Trojan, Hysteria2, TUIC, WireGuard, and more—far exceeding the original in compatibility.
  5. Check performance improvements: Clash Meta offers significant optimizations in memory management, concurrent connections, and rule matching efficiency for high-load scenarios.
  6. Make your choice: For new users and those seeking ongoing updates, Clash Meta and its derivative clients are strongly recommended as the future of the Clash ecosystem.
⚠️ 导入配置后无法连接怎么办?⚠️ What to do if I can’t connect after importing config?
  1. 检查配置格式是否正确:打开配置文件,确认其结构完整,包含 proxies、proxy-groups、rules 等必要字段,YAML 缩进必须使用空格而非 Tab。
  2. 验证节点可用性:使用客户端内置的测速功能或在线工具逐一检测节点延迟与连通性,排除已失效或不可达的节点。
  3. 检查网络环境是否受限:某些网络环境(如公司内网、校园网)可能封锁了代理协议端口,尝试切换不同协议或端口的节点进行测试。
  4. 查看客户端日志信息:打开日志面板,观察连接时的错误提示,常见问题包括 DNS 解析失败、TLS 握手超时、认证信息错误等。
  5. 尝试切换内核版本:如果使用 Clash Meta,尝试更新到最新版本,或回退到上一个稳定版,排除内核兼容性问题。
  6. 重置并重新导入配置:备份当前配置后完全重置客户端设置,重新导入干净配置,排除因缓存或残留设置导致的异常。
  1. Check config format: Verify your config file has a complete structure with proxies, proxy-groups, and rules sections. YAML indentation must use spaces, not tabs.
  2. Verify node availability: Use the built-in speed test or online tools to check each node’s latency and connectivity, eliminating expired or unreachable nodes.
  3. Check network restrictions: Some environments (corporate, campus networks) may block proxy protocols. Try nodes with different protocols or ports.
  4. Review client logs: Open the log panel to observe error messages. Common issues include DNS resolution failures, TLS handshake timeouts, and authentication errors.
  5. Try switching kernel versions: If using Clash Meta, try updating to the latest version or rolling back to a previous stable release to rule out kernel compatibility issues.
  6. Reset and re-import config: Back up your current config, fully reset client settings, and import a clean config to eliminate issues caused by cache or residual settings.
🔄 如何自动切换节点?🔄 How to auto-switch nodes?
  1. 了解自动切换原理:Clash 通过 proxy-groups 中的 url-test 或 fallback 类型实现自动节点选择,根据延迟测试结果或可用性动态切换最优节点。
  2. 配置测速 URL:在 proxy-group 中设置 url 字段,指向一个稳定的测速地址(如 http://www.gstatic.com/generate_204),用于定期检测节点延迟。
  3. 设置切换策略类型:url-test 类型始终选择延迟最低的节点,fallback 类型则在当前节点不可用时才切换到备用节点,按需选择合适的策略。
  4. 调整检测间隔与容差:通过 interval 参数设置检测频率(建议300-600秒),tolerance 参数设置容差毫秒数,避免频繁切换带来的抖动。
  5. 测试自动切换效果:手动断开当前节点或模拟高延迟场景,观察客户端是否按预期自动切换到更优节点,验证配置正确性。
  6. 优化配置参数:根据实际使用体验微调 interval、tolerance 和 lazy 等参数,在切换灵敏度与稳定性之间取得平衡。
  1. Understand auto-switch principles: Clash uses url-test or fallback proxy-group types for automatic node selection, dynamically switching based on latency tests or availability.
  2. Configure test URL: Set the url field in your proxy-group to a stable testing endpoint (e.g., http://www.gstatic.com/generate_204) for periodic latency checks.
  3. Choose switch strategy: url-test always picks the lowest-latency node; fallback only switches when the current node fails. Choose based on your needs.
  4. Adjust interval and tolerance: Set interval (recommended 300-600s) for test frequency and tolerance in milliseconds to prevent flapping from frequent switches.
  5. Test auto-switch behavior: Manually disconnect the current node or simulate high latency to verify the client switches to a better node as expected.
  6. Optimize parameters: Fine-tune interval, tolerance, and lazy settings based on real-world experience to balance switching sensitivity and stability.
🍏 iOS 上哪款客户端好用?🍏 Which iOS client works best?
  1. 了解 iOS 平台的特殊限制:由于 App Store 对代理类应用的严格审核政策,Clash 没有官方上架的 iOS 客户端,用户需通过 TestFlight 测试版或侧载方式获取。
  2. 对比可用的主流客户端:目前社区推荐的 iOS 客户端包括 Stash(TestFlight 分发)、Shadowrocket(App Store 有售但非 Clash 内核)、以及通过 AltStore 侧载的 Clash 衍生应用。
  3. 查看功能特性差异:Stash 基于 Clash 内核,支持完整的规则分流与协议套件;Shadowrocket 虽非 Clash 内核但生态成熟、稳定性高,两者各有优势。
  4. 考虑长期稳定性:TestFlight 版本有有效期限制且可能因签名问题失效,付费应用如 Shadowrocket 则提供更稳定的长期使用体验。
  5. 评估上手易用性:Shadowrocket 的 UI 设计直观,适合新手快速上手;Stash 的配置灵活性更强,适合有 Clash 使用经验的进阶用户。
  6. 做出最终选择:追求稳定省心推荐 Shadowrocket,追求与桌面端 Clash 配置一致性和高级功能推荐 Stash,两者均可满足日常代理需求。
  1. Understand iOS platform limitations: Due to strict App Store review policies for proxy apps, there is no official Clash iOS client. Users rely on TestFlight betas or sideloading.
  2. Compare available mainstream clients: Community-recommended iOS clients include Stash (via TestFlight), Shadowrocket (available on App Store but non-Clash kernel), and Clash-derivative apps via AltStore sideloading.
  3. Review feature differences: Stash is based on Clash kernel with full rule routing and protocol support; Shadowrocket has a mature ecosystem and high stability despite not using the Clash kernel.
  4. Consider long-term stability: TestFlight versions have expiration limits and may fail due to signing issues; paid apps like Shadowrocket offer more stable long-term use.
  5. Evaluate ease of use: Shadowrocket has an intuitive UI ideal for beginners; Stash offers greater configuration flexibility suited for experienced Clash users.
  6. Make your final choice: For stability and convenience, choose Shadowrocket; for config consistency with desktop Clash and advanced features, choose Stash. Both meet daily proxy needs.
🔒 如何验证下载的 Clash 客户端文件是否安全?🔒 How to verify downloaded Clash client files are safe?
  1. 从官方渠道获取校验值:访问 GitHub 官方 Release 页面,找到对应版本的 SHA256 或 PGP 签名文件,这是验证文件完整性的唯一可信依据。
  2. 使用系统工具计算文件哈希:Windows 使用 certutil -hashfile 命令,macOS/Linux 使用 shasum -a 256 命令,计算下载文件的 SHA256 值。
  3. 仔细对比校验结果:将计算得到的哈希值与官方公布的 SHA256 逐字符比对,任何细微差异都意味着文件可能被篡改或损坏。
  4. 验证数字签名(如提供):如果发布者提供了 PGP/GPG 签名,使用公钥验证签名文件,确保文件确实来自可信的发布者而非冒名者。
  5. 检查文件来源与下载渠道:确认下载链接确实指向官方 GitHub Releases 或经官方认证的镜像站,避免从不可信的第三方网站获取文件。
  6. 使用杀毒软件进行辅助扫描:安装前使用本地杀毒软件或 VirusTotal 等在线服务扫描文件,作为额外的安全防护层。
  1. Obtain official checksums: Visit the official GitHub Release page to find SHA256 or PGP signature files for the specific version—the only trusted source for integrity verification.
  2. Calculate file hash using system tools: Use certutil -hashfile on Windows or shasum -a 256 on macOS/Linux to compute the SHA256 value of the downloaded file.
  3. Carefully compare results: Compare the computed hash with the official SHA256 character by character. Any difference indicates potential tampering or corruption.
  4. Verify digital signatures (if provided): If the publisher provides PGP/GPG signatures, use the public key to verify the signature file, ensuring the file truly comes from the trusted publisher.
  5. Check file source and download channel: Confirm the download link points to official GitHub Releases or officially certified mirrors, avoiding untrusted third-party sites.
  6. Run antivirus scan as supplementary check: Before installation, scan the file with local antivirus software or online services like VirusTotal as an additional security layer.
📥 如何获取和管理订阅配置?📥 How to obtain and manage subscription configs?
  1. 选择可靠的订阅服务提供商:通过社区口碑、稳定性和隐私政策评估,选择一个提供 Clash 兼容订阅链接的可靠服务商,注意甄别虚假推广信息。
  2. 获取并验证订阅链接:从服务商获取订阅 URL,通常为以 http/https 开头的链接,先在浏览器中测试链接是否可正常访问并返回有效数据。
  3. 使用转换工具适配 Clash 格式:如果订阅非 Clash 原生格式,使用在线规则转换工具(如 ACL4SSR 在线转换)将其转换为 Clash 兼容的 YAML 配置。
  4. 导入配置到客户端:在 Clash 客户端中找到「配置」或「Profiles」选项,通过 URL 导入或本地文件导入的方式加载配置,确认解析无误。
  5. 设置定期自动更新:启用客户端的订阅自动更新功能,建议设置每24-48小时更新一次,确保节点信息始终保持最新状态。
  6. 备份与管理多个配置:定期导出并备份工作正常的配置文件,为不同使用场景(如国内直连、海外代理)维护多套配置,随时灵活切换。
  1. Choose a reliable subscription provider: Evaluate providers based on community reputation, stability, and privacy policies. Select one offering Clash-compatible subscription links and beware of fake promotions.
  2. Obtain and verify the subscription link: Get the subscription URL from your provider (usually starting with http/https). Test in a browser first to ensure it returns valid data.
  3. Use conversion tools for Clash format: If the subscription isn’t in native Clash format, use online conversion tools (like ACL4SSR converter) to transform it into Clash-compatible YAML.
  4. Import config into the client: In your Clash client, find the “Config” or “Profiles” option and import via URL or local file. Confirm successful parsing without errors.
  5. Enable scheduled auto-updates: Turn on the client’s subscription auto-update feature, recommended every 24-48 hours, to keep node information current.
  6. Backup and manage multiple configs: Regularly export and back up working config files. Maintain separate configs for different scenarios (e.g., direct connection, overseas proxy) for flexible switching.
查看完整 FAQ →View Full FAQ →

观看、阅读、聆听