Clash — 让网络随心而动

跨平台、高扩展性的网络代理客户端,支持多协议、策略组与动态分流。基于规则驱动,为开发者与技术用户提供精准的网络流量控制。

最新内核版本:v1.18.0 · 2026-05-28 已发布 · 查看更新日志 →

Clash — Network at Your Command

A cross-platform, highly extensible network proxy client supporting multiple protocols, strategy groups, and dynamic routing. Rule-driven precision for developers and tech enthusiasts.

Latest Core: v1.18.0 · Released 2026-05-28 · View Changelog →

选择您的平台

全平台官方推荐客户端,一键下载,安全可靠

Choose Your Platform

Official recommended clients for all platforms. One-click download, secure and reliable.

New
🖥
Clash Verge
v2.1.0 · 2026-05-25
基于 Tauri,更轻量,支持规则编辑与分流图形化。Tauri-based, lightweight, supports rule editing & visual routing.
Windows 10+ 64-bit~48 MB
🔒 SHA256
a1b2c3d4e5f6...(示例校验值)
🍎
ClashX Pro
v1.8.0 · 2026-05-20
含增强模式,原生 macOS 体验。Enhanced mode included, native macOS experience.
macOS 12+~35 MB
🔒 SHA256
b2c3d4e5f6a1...(示例校验值)
🐧
Clash Verge
v2.1.0 · 2026-05-25
提供 .deb / .rpm / AppImage 格式。Available as .deb / .rpm / AppImage.
Linux x86_64 / ARM64~52 MB
🔒 SHA256
c3d4e5f6a1b2...(示例校验值)
📱
Clash Meta for Android
v3.2.1 · 2026-05-18
支持代理和规则更新,开源免费。Proxy & rule updates supported, open-source & free.
Android 8.0+~28 MB
🔒 SHA256
d4e5f6a1b2c3...(示例校验值)
3rd-party
📱
Stash
App Store · 兼容 Clash
兼容 Clash 配置,App Store 可下载。非官方但兼容。Clash-compatible, available on App Store. Unofficial but compatible.
iOS 15+App Store

为什么选择 Clash?

六大核心优势,打造极致代理体验

Why Clash?

Six core advantages for the ultimate proxy experience

🎯

规则驱动分流Rule-Based Routing

基于域名、IP、GEOIP 等灵活规则,精确控制流量走向,实现智能分流。Flexible rules based on domain, IP, GEOIP for precise traffic control and smart routing.

🔌

多协议支持Multi-Protocol

全面兼容 Shadowsocks、Vmess、Trojan、Snell 等主流协议,一应俱全。Full compatibility with Shadowsocks, Vmess, Trojan, Snell, and more.

高性能内核High-Performance Core

Rust/Go 编写内核,低占用、高并发,适合软路由与长期挂机场景。Rust/Go core, low footprint, high concurrency — ideal for routers and 24/7 operation.

📊

可视化面板Visual Dashboard

内置管理界面,实时查看连接、速率、日志,管理配置无需命令行。Built-in dashboard for real-time connection monitoring, rate tracking, and log viewing.

🌍

开源与生态Open Source & Ecosystem

开放源代码,社区活跃,配置模板与规则集即拿即用,持续迭代。Open-source with an active community. Ready-to-use config templates and rule sets.

🔄

跨平台一致体验Cross-Platform Consistency

同一套配置逻辑在多设备间无缝迁移,Windows/macOS/Linux/手机全覆盖。Same config logic across all devices — Windows, macOS, Linux, and mobile.

最新资讯与教程

关注更新动态,掌握使用技巧

Latest News & Tutorials

Stay updated with the latest releases and tips

三步快速上手

从零开始,轻松开启 Clash 之旅

Quick Start in 3 Steps

Start your Clash journey with ease

📥

下载客户端Download Client

选择你的设备并下载匹配的 Clash 客户端安装包。Choose your device and download the matching Clash client.

查看下载指引 →View Download Guide →
📋

导入配置Import Config

通过 URL 订阅或本地配置文件导入节点信息,支持多种格式。Import node info via URL subscription or local config file.

什么是订阅?教程 →What's a subscription? →
🚀

开启代理Enable Proxy

开启系统代理,选择节点或策略组,即刻开始安全高效的网络访问。Enable system proxy, select a node or strategy group, and enjoy secure access.

策略组使用技巧 →Strategy Group Tips →

常见问题解答

关于 Clash 的常见疑问,这里都有详细解答

Frequently Asked Questions

Detailed answers to common questions about Clash

什么是 Clash?它适合我吗?
  1. 了解 Clash 的本质:

    Clash 是一款基于规则驱动的网络代理客户端内核,它不是一个 VPN 服务,而是一个工具——你需要自行准备代理节点(如 Shadowsocks、Vmess 等),Clash 负责根据你设定的规则智能地将不同流量导向不同的代理节点或直连。它适合需要精细控制网络流量走向的技术用户。

  2. 确认你的使用场景:

    如果你是开发者、需要访问海外技术文档、管理多地区服务器,或者希望家中软路由实现智能分流,Clash 是非常合适的选择。它支持复杂的策略组配置,远超市面上简单的 VPN 应用。

  3. 检查设备兼容性:

    Clash 内核支持 Windows、macOS、Linux、Android、iOS(通过兼容客户端)以及路由器系统(如 OpenWrt)。几乎覆盖所有主流平台,多设备间可共享同一套配置逻辑。

  4. 评估技术门槛:

    对于有基本网络知识的用户,Clash 的入门并不困难——下载客户端、导入订阅链接、开启代理即可使用。进阶功能(如自定义规则)需要一定的学习,但社区提供了丰富的模板和教程。

  5. 与其他工具对比:

    相比传统 VPN 应用,Clash 的优势在于规则分流的灵活性和策略组的强大。相比 V2RayN 等同类工具,Clash 的跨平台一致性更好,配置可移植性更高。如果你需要"一个配置走天下",Clash 是更优选择。

  6. 开始你的第一步:

    访问本页下载区,选择对应平台的客户端,准备一个可用的代理订阅链接,按照快速上手指引完成配置。整个过程通常不超过 5 分钟。如果遇到问题,可查阅文档站或社区资源获取帮助。

What is Clash and is it right for me?
  1. Understand what Clash is:

    Clash is a rule-based network proxy client kernel — it's not a VPN service but a tool. You need to provide your own proxy nodes (Shadowsocks, Vmess, etc.), and Clash intelligently routes different traffic to different nodes or direct connections based on rules you set.

  2. Identify your use case:

    If you're a developer needing access to international tech docs, managing multi-region servers, or want smart routing on your home router, Clash is an excellent fit. It supports complex strategy group configs far beyond simple VPN apps.

  3. Check device compatibility:

    The Clash kernel supports Windows, macOS, Linux, Android, iOS (via compatible clients), and router systems like OpenWrt — covering nearly all major platforms with shared config logic across devices.

  4. Assess the learning curve:

    For users with basic networking knowledge, getting started is straightforward — download, import a subscription link, enable proxy. Advanced features require some learning, but the community provides abundant templates and tutorials.

  5. Compare with alternatives:

    Compared to traditional VPN apps, Clash excels in routing flexibility and strategy group power. Compared to tools like V2RayN, Clash offers better cross-platform consistency and config portability.

  6. Take your first step:

    Visit the download section on this page, pick the client for your platform, prepare a working proxy subscription link, and follow the quick start guide. The whole process typically takes under 5 minutes.

如何选择适合我设备的 Clash 客户端?
  1. 确认操作系统版本:

    首先明确你的设备运行的是什么操作系统及版本号。Windows 需确认是 10 还是 11、是否为 64 位;macOS 需确认是 Intel 芯片还是 Apple Silicon(M系列);Linux 需确认发行版和架构(x86_64 或 ARM64)。

  2. Windows 用户的选择:

    推荐使用 Clash Verge,它基于 Tauri 框架构建,界面现代化,支持 Clash Meta 内核,内置可视化分流编辑器。如果偏好经典界面,也可选择 Clash for Windows(CFW),但 CFW 已停止活跃更新。

  3. macOS 用户的选择:

    推荐 ClashX Pro(含增强模式,适合需要代理所有流量的场景)或 Clash Verge(跨平台一致体验)。两者均支持 Apple Silicon 原生运行,性能出色。从 App Store 安装 Stash 也是一个轻量选择。

  4. Linux 用户的选择:

    Clash Verge 提供 .deb、.rpm 和 AppImage 三种格式,覆盖主流发行版。对于服务器或无图形界面的环境,可直接使用 Clash 内核命令行版本,配合 systemd 实现开机自启。

  5. 移动端的选择:

    Android 用户推荐 Clash Meta for Android,支持代理和规则自动更新,开源且持续维护。iOS 用户由于系统限制,需使用兼容客户端如 Stash(App Store 可下载)或 Shadowrocket,它们兼容 Clash 配置格式。

  6. 路由器/嵌入式设备:

    对于 OpenWrt 等路由器系统,可安装 Clash 内核的 Luci 界面插件,实现家庭网络级别的智能分流。注意选择与路由器架构匹配的二进制文件(多为 ARM 或 MIPS 架构)。

How do I choose the right Clash client for my device?
  1. Identify your OS version:

    Determine your operating system and version — Windows 10/11 64-bit, macOS Intel or Apple Silicon, Linux distribution and architecture (x86_64 or ARM64). This is critical for downloading the correct package.

  2. For Windows users:

    Clash Verge is recommended — Tauri-based, modern UI, supports Clash Meta kernel with a built-in visual routing editor. Clash for Windows (CFW) is a classic alternative but no longer actively updated.

  3. For macOS users:

    ClashX Pro (with enhanced mode for full traffic proxying) or Clash Verge (cross-platform consistency). Both support Apple Silicon natively. Stash from the App Store is also a lightweight option.

  4. For Linux users:

    Clash Verge offers .deb, .rpm, and AppImage formats covering major distros. For headless servers, use the Clash kernel CLI version with systemd for auto-start.

  5. For mobile users:

    Android: Clash Meta for Android — open-source, actively maintained, supports auto-updating proxies and rules. iOS: Use compatible clients like Stash (App Store) or Shadowrocket that support Clash config format.

  6. For routers/embedded devices:

    OpenWrt users can install Clash kernel with Luci GUI plugins for network-wide smart routing. Ensure you select the correct binary for your router's architecture (usually ARM or MIPS).

如何获取和导入代理配置?
  1. 获取订阅链接:

    代理配置通常以订阅链接(URL)的形式提供,由你的代理服务商生成。这是一个包含节点信息的加密或明文链接,格式一般为 https://your-provider.com/subscribe?token=xxx。请妥善保管此链接,不要分享给他人。

  2. 打开客户端配置界面:

    启动 Clash 客户端后,找到"配置"或"Profiles"选项卡。不同客户端的界面略有差异,但核心功能一致——都有一个用于导入配置的入口,通常标记为"导入"、"添加配置"或"Download Profile"。

  3. 粘贴订阅链接并下载:

    在配置导入界面中,将订阅链接粘贴到 URL 输入框中,点击"下载"或"导入"按钮。客户端会自动从该链接拉取最新的节点信息并生成配置文件。部分客户端支持设置自动更新间隔(建议设为 24 小时)。

  4. 验证节点是否可用:

    配置导入成功后,切换到"代理"或"Proxies"选项卡,你应该能看到节点列表。点击节点旁的延迟测试按钮(通常为闪电图标),确认节点可达且延迟在可接受范围内。如果所有节点超时,请检查订阅链接是否有效。

  5. 定期更新配置:

    代理服务商的节点可能会定期变更,建议开启客户端的自动更新功能,或在感觉节点不稳定时手动触发更新。更新后原有节点列表会被刷新,确保你始终使用最新的可用节点。

  6. 备份你的配置:

    如果你对配置进行了自定义修改(如添加了特定规则),建议导出配置文件备份到本地。这样在更换设备或重装系统时,可以直接导入备份文件,无需重新配置。大多数客户端支持导出为 YAML 或 JSON 格式。

How do I obtain and import proxy configurations?
  1. Obtain a subscription link:

    Proxy configs are typically provided as subscription URLs by your proxy service provider. This is an encrypted or plaintext link containing node info, usually in the format https://your-provider.com/subscribe?token=xxx. Keep this link private.

  2. Open the config interface:

    After launching Clash, navigate to the "Profiles" or "Config" tab. The exact label varies by client, but all have an import entry — typically marked "Import", "Add Profile", or "Download Profile".

  3. Paste and download:

    Paste your subscription URL into the input field and click "Download" or "Import". The client will fetch the latest node info and generate a config file. Some clients support setting an auto-update interval (recommended: every 24 hours).

  4. Verify node availability:

    After import, switch to the "Proxies" tab to see the node list. Click the latency test button (usually a lightning icon) next to each node to confirm reachability and acceptable latency. If all nodes timeout, check if your subscription link is still valid.

  5. Keep configs updated:

    Proxy providers may rotate nodes periodically. Enable auto-update in your client or manually trigger an update when nodes feel unstable. This refreshes the node list so you always use the latest available nodes.

  6. Backup your config:

    If you've made custom modifications (like adding specific rules), export and save a backup locally. This allows you to restore your setup on a new device without reconfiguring. Most clients support exporting as YAML or JSON.

如何设置规则分流以实现智能代理?
  1. 理解规则分流的基本概念:

    规则分流是 Clash 的核心功能——它根据你设定的匹配条件(域名、IP 地址、GEOIP 等),将不同的网络请求导向不同的出口(代理节点或直连)。例如,你可以让访问 Google 的流量走代理,而访问百度则直连,从而实现智能化的网络访问。

  2. 选择合适的规则集:

    社区提供了多套成熟的规则集供直接使用,如 Lhie1 规则、ACL4SSR 规则等。这些规则集已经分类整理了大量常见网站(社交媒体、流媒体、技术网站等),你只需在配置中引用即可,无需从零编写。

  3. 配置策略组:

    策略组决定了匹配到某条规则时使用哪个代理节点。常见的策略组类型包括:自动选择(按延迟最低自动切换)、手动选择(固定使用指定节点)、负载均衡(在多个节点间轮询)。合理配置策略组可以兼顾速度与稳定性。

  4. 编写自定义分流规则:

    对于有特殊需求的用户,可以直接编辑 YAML 配置文件中的 rules 字段。规则语法支持 DOMAIN(精确域名)、DOMAIN-SUFFIX(域名后缀)、DOMAIN-KEYWORD(域名关键词)、GEOIP(按地理位置)、IP-CIDR(按 IP 段)等多种匹配方式。

  5. 测试规则是否生效:

    配置完成后,打开 Clash 的可视化面板或日志界面,访问一些测试网站,观察连接记录中显示的匹配规则和出口节点。确认国内网站走直连(DIRECT)、海外网站走代理节点。如发现异常,调整规则优先级即可。

  6. 持续优化调整:

    规则分流不是一次性配置就完事的。随着使用场景变化,你可能需要添加新的域名规则、调整策略组的节点选择、或更新规则集版本。定期检查日志中是否有被错误路由的请求,针对性地优化规则,使分流更加精准高效。

How do I set up rule-based routing for smart proxying?
  1. Understand rule-based routing:

    Rule-based routing is Clash's core feature — it directs different network requests to different exits (proxy nodes or direct connection) based on matching conditions like domain, IP address, or GEOIP. For example, Google traffic goes through a proxy while local sites connect directly.

  2. Choose a rule set:

    The community provides mature rule sets like Lhie1 rules and ACL4SSR. These pre-categorized collections cover common sites (social media, streaming, tech sites, etc.) — just reference them in your config without starting from scratch.

  3. Configure strategy groups:

    Strategy groups determine which proxy node to use when a rule matches. Common types include: auto-select (lowest latency), manual select (fixed node), and load balancing (round-robin across nodes). Well-configured groups balance speed and stability.

  4. Write custom routing rules:

    For advanced needs, edit the rules field in your YAML config directly. Supported match types include DOMAIN, DOMAIN-SUFFIX, DOMAIN-KEYWORD, GEOIP, IP-CIDR, and more — giving you granular control over traffic routing.

  5. Test your rules:

    After configuration, open Clash's dashboard or logs and visit test sites. Verify that domestic sites go through DIRECT and international sites go through proxy nodes. If something is misrouted, adjust rule priorities accordingly.

  6. Continuously optimize:

    Rule-based routing isn't a one-time setup. As your usage evolves, you may need to add new domain rules, adjust strategy group node selections, or update rule set versions. Regularly review logs for misrouted requests and fine-tune for precision.

Clash 有哪些高级功能可以提升使用体验?
  1. 可视化仪表板:

    大多数 Clash 客户端内置了 Web 管理面板(默认地址通常为 127.0.0.1:9090),在这里你可以实时查看所有活跃连接、传输速率、流量统计和详细日志。这个面板让配置管理和问题排查变得直观,无需接触命令行。

  2. 策略组高级配置:

    除了基础的自动选择和手动选择,Clash 还支持 fallback(故障转移)策略组——当主节点不可用时自动切换到备用节点;以及 url-test 策略组——定期测试所有节点延迟并自动选择最优节点。这些高级策略组能显著提升网络可靠性。

  3. 规则编辑器与热重载:

    新版客户端(如 Clash Verge)内置了图形化规则编辑器,支持拖拽调整规则顺序、实时预览匹配结果。配置修改后支持热重载——无需重启客户端即可生效,极大提升了调试效率。

  4. 连接管理与流量统计:

    在连接管理界面,你可以查看每个应用程序或域名的实时连接详情,包括目标 IP、使用的代理节点、传输速度等。流量统计功能则帮你了解各节点的累计使用量,对于按流量计费的代理服务尤为实用。

  5. 日志查看与调试模式:

    Clash 提供了详细的日志系统,支持不同级别(info、warning、error、debug)。开启 debug 模式后,你可以看到每条请求匹配了哪条规则、走了哪个节点,这对于排查复杂的分流问题至关重要。

  6. 性能优化与资源控制:

    对于软路由或低配设备,可以通过调整内核参数来优化性能——例如限制最大并发连接数、调整 DNS 缓存策略、启用连接复用等。Clash 的 Rust/Go 内核本身占用极低,合理配置后可在 128MB 内存的设备上稳定运行。

What advanced features does Clash offer to enhance the experience?
  1. Visual dashboard:

    Most Clash clients include a built-in web dashboard (default: 127.0.0.1:9090) where you can view all active connections, transfer rates, traffic stats, and detailed logs in real time — making config management and troubleshooting intuitive without the command line.

  2. Advanced strategy groups:

    Beyond basic auto and manual selection, Clash supports fallback groups (auto-switch to backup when primary fails) and url-test groups (periodically test all nodes and pick the best). These significantly improve network reliability.

  3. Rule editor & hot reload:

    Newer clients like Clash Verge include a graphical rule editor with drag-and-drop reordering and real-time preview. Config changes support hot reload — they take effect without restarting the client, greatly improving debugging efficiency.

  4. Connection management & traffic stats:

    The connection panel shows real-time details for each app or domain — target IP, proxy node used, transfer speed, etc. Traffic stats help track cumulative usage per node, especially useful for metered proxy services.

  5. Logging & debug mode:

    Clash provides a detailed logging system with multiple levels (info, warning, error, debug). In debug mode, you can see which rule each request matched and which node it used — crucial for troubleshooting complex routing issues.

  6. Performance optimization:

    For routers or low-spec devices, tune kernel parameters — limit max concurrent connections, adjust DNS cache policies, enable connection reuse. Clash's Rust/Go core has minimal overhead and can run stably on devices with just 128MB RAM when properly configured.

遇到连接问题应该如何排查?
  1. 检查基本网络连接:

    首先确认设备本身能够正常访问互联网——关闭 Clash 代理后,尝试访问一个国内网站(如 baidu.com)。如果连基础网络都不通,问题不在 Clash,需要检查 Wi-Fi、网线或路由器设置。同时确认系统时间是否正确,错误的时间会导致 TLS 证书验证失败。

  2. 验证配置是否有效:

    检查你的订阅链接是否过期、节点信息是否正确。在客户端中手动触发配置更新,观察是否报错。如果更新失败,可能是订阅链接失效或网络环境限制了访问。尝试在浏览器中直接打开订阅链接,确认能否获取到数据。

  3. 查看日志定位问题:

    打开 Clash 的日志界面,将日志级别设为 debug 或 warning。尝试访问出问题的网站,观察日志中是否出现错误信息。常见错误包括:连接超时(节点不可达)、TLS 握手失败(证书或时间问题)、DNS 解析失败(DNS 配置异常)等。

  4. 测试单个节点:

    在代理列表中逐个测试节点的延迟和可用性。如果所有节点都超时,可能是代理协议被封锁或网络环境限制。尝试更换不同协议的节点(如从 Vmess 切换到 Shadowsocks 或 Trojan),不同协议的抗干扰能力不同。

  5. 检查规则配置:

    确认目标网站是否被正确的规则匹配。可以在日志中搜索该域名,查看它匹配了哪条规则、走了哪个出口。如果发现被错误地导向了直连或不合适的节点,需要在配置中调整规则优先级或添加新的匹配规则。

  6. 寻求社区帮助:

    如果以上步骤都无法解决问题,可以整理好日志截图、配置信息(隐去敏感部分)和问题描述,前往 Clash 的 GitHub Issues、Telegram 交流群或相关论坛发帖求助。提供尽可能详细的信息有助于社区成员快速定位问题。同时查阅文档站的 FAQ 和常见问题专题,很多问题已有现成的解决方案。

How do I troubleshoot connection issues?
  1. Check basic network connectivity:

    First, verify your device can access the internet without Clash — try visiting a known website. If basic connectivity fails, the issue isn't with Clash; check Wi-Fi, cables, or router settings. Also ensure your system clock is correct, as wrong time causes TLS certificate verification failures.

  2. Verify config validity:

    Check if your subscription link has expired or if node info is correct. Manually trigger a config update in the client and watch for errors. If the update fails, the subscription link may be invalid or your network may be blocking access. Try opening the link directly in a browser.

  3. Check logs to identify the issue:

    Open Clash's log panel and set the level to debug or warning. Visit the problematic site and observe error messages. Common errors include: connection timeout (node unreachable), TLS handshake failure (certificate or clock issue), DNS resolution failure (DNS config problem).

  4. Test individual nodes:

    Test each node's latency and availability in the proxy list. If all nodes timeout, the proxy protocol may be blocked. Try switching to nodes using different protocols (e.g., from Vmess to Shadowsocks or Trojan), as different protocols have varying levels of resilience.

  5. Review rule configuration:

    Verify the target domain is matched by the correct rule. Search for the domain in logs to see which rule matched and which exit was used. If it's incorrectly routed to direct connection or the wrong node, adjust rule priorities or add new matching rules in your config.

  6. Seek community help:

    If all else fails, gather log screenshots, config info (with sensitive parts redacted), and a clear problem description. Post on Clash's GitHub Issues, Telegram groups, or relevant forums. Providing detailed information helps the community quickly identify the issue. Also check the docs site's FAQ — many problems already have ready solutions.

⚠️ 合规声明:Compliance Notice: 本软件仅供网络技术研究、开发测试及合法的跨境网络访问使用。严禁用于任何违法用途。使用者应遵守所在地区法律法规,自行承担使用风险。本网站由爱好者维护,与 Clash 项目作者无直接关联。 This software is intended solely for network technology research, development testing, and lawful cross-border network access. Any illegal use is strictly prohibited. Users must comply with local laws and regulations and assume all risks. This site is maintained by enthusiasts and is not directly affiliated with the Clash project authors.