Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Claude Code CLI 简体中文本地化 / 汉化插件;支持 macOS、Linux、WSL、Windows 与新版 native,一行安装,更新后自动修复。
| Date | Stars |
|---|---|
| 2026-07-31 | 629 |
| 2026-08-03 | 648 |
| 2026-08-06 | 648 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
60.0
growth rate 0.00%/day
<div align="center">
# claude-code-zh-cn
**Claude Code 简体中文本地化插件**
让终端里的 AI 编程助手说中文 🇨🇳
**一条命令,把 Claude Code 的终端界面、等待提示、系统通知和默认回复切换为简体中文。**
187 个趣味 spinner 动词,41 条中文提示,回复耗时中文化;另有 2007 条界面翻译。
[](https://github.com/taekchef/claude-code-zh-cn)
[](https://taekchef.github.io/claude-code-zh-cn/)
[](./LICENSE)
<!-- readme-support-window:badges:start -->
[](./docs/support-matrix.md)
[](./docs/support-matrix.md)
[](./docs/support-matrix.md)
[](./docs/support-matrix.md)
<!-- readme-support-window:badges:end -->
[](https://github.com/taekchef/claude-code-zh-cn/releases)
**macOS · Linux · WSL · Windows**
**一行远程安装 · 更新后自动修复 · 卸载不丢配置**
</div>
---
## 效果预览

> **真实 Ghostty 录制**:同一台 Mac、同一个 Claude Code `2.1.211`,先运行安装前备份的原版可执行文件,再运行当前中文补丁版。动图只做缩放和前后切换,没有重绘或仿造终端内容。
**安装前:**
```text
⠙ Photosynthesizing...
Tip: Press Shift+Tab to switch between default, auto-accept edits, and plan modes
```
**安装后:**
```text
⠙ 光合作用中...
💡 按 Shift+Tab 在默认模式、自动接受编辑模式和 Plan 模式之间切换
```
更多画风:
```text
⠙ 蹦迪中... ⠙ 七荤八素中... ⠙ 搞事情中...
⠙ 瞎忙活中... ⠙ 花里胡哨中... ⠙ 变魔术中...
琢磨了 1分23秒
```
187 个趣味 spinner 动词,41 条中文提示,回复耗时中文化,AI 默认中文回复。**装完即用。**
## 30 秒安装
已经安装 Claude Code?运行:
```bash
curl -fsSL https://github.com/taekchef/claude-code-zh-cn/releases/latest/download/install-remote.sh | bash
```
重启 Claude Code,看到“思考中”“光合作用中”等中文提示即安装成功。还没有 `claude` 命令,请先安装 [Claude Code](https://github.com/anthropics/claude-code)。
> **安全边界**:安装前会备份原文件。补丁、重打包或启动自检失败时会保留或恢复原文件;遇到暂未适配的新文案时,对应内容保持英文,不影响 Claude Code 正常启动。
如果它让你的 Claude Code 更顺手,欢迎点一下右上角 **Star**,这会帮助更多中文用户发现它。
## 为什么做这个?
Claude Code 是一个很棒的终端 AI 编程助手,但它没有中文界面。UI 文字主要硬编码在一个 13MB 的 `cli.js` 里,没有 i18n 基础设施。
官方短期内不太可能加中文支持。所以我做了这个插件,通过四层机制(设置注入 + Hook 系统 + 插件系统 + CLI Patch)实现中文化,**自动检测安装方式,更新后自动修复**。遇到还没验证过的新版本也不怕:插件会自动降级,翻不了的部分保持英文,CLI 绝不会坏。
## 安装说明
### 推荐:插件市场安装(macOS / Linux / Windows 通用)
最快的方式——不依赖本地仓库,两条命令搞定。**三平台通用**,只要已经有 `claude` 命令:
```bash
# 1. 添加本项目的插件市场
claude plugin marketplace add --scope user https://github.com/taekchef/claude-code-zh-cn
# 2. 安装中文本地化插件
claude plugin install claude-code-zh-cn@claude-code-zh-cn --scope user
```
装好后**重启一次 Claude Code**:session-start hook 会自动把 spinner 动词/提示/界面中文化配置合并进 `settings.json`,并自动 patch 已验证版本的 CLI 硬编码文字。
> **spinner/界面已是英文?** 如果重启后 spinner 仍是英文,运行增强安装 skill 补齐配置:在 Claude Code 里说「帮我运行 zh-cn-setup」或手动执行:
>
> ```bash
> node "${CLAUDE_PLUGIN_ROOT}/skills/zh-cn-setup/scripts/setup.js"
> ```
>
> 该脚本会从插件内置数据补齐缺失的 spinner 配置、检测并同步 CC Switch 通用配置(需授权)、报告 patch 状态。**只补齐缺失项,绝不覆盖你已有的手动配置。**
> **Windows native .exe 用户**:如果当前 Claude Code 是 2.1.113+ native `.exe`,patch 需要先 `npm install -g node-lief`。未安装时 Layer 4 CLI Patch 会跳过(spinner/界面中文化等 Layer 1~3 不受影响)。
### 完整安装脚本(本地开发 / 离线 / 旧版 Claude Code)
首屏命令会从本项目最新 GitHub Release 下载源码包,然后执行同一套 `install.sh`。它和官方安装器的区别:
| 命令 | 装什么 | 什么时候用 |
|------|--------|------------|
| `curl -fsSL https://github.com/taekchef/claude-code-zh-cn/releases/latest/download/install-remote.sh \| bash` | 中文本地化插件 | 已经有 `claude` 命令,只想安装/更新中文插件 |
| `curl -fsSL https://claude.ai/install.sh \| sh` | Claude Code 本体 | 还没有 `claude` 命令,或要先安装官方 CLI |
远程安装会优先把本项目登记到 Claude Code 插件管理器;当前 CLI 不支持正式注册时,才启用等价的独立 Hook 兜底,不需要保留本地 clone。
如果你要改翻译或调试脚本,再用本地源码安装:
```bash
git clone https://github.com/taekchef/claude-code-zh-cn.giExcerpt of 15,774 characters
Read on GitHub94
42
5
1
1
1
KozakLordOfMatrix
1
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:984e49f44e0e898d, topic:developer-tools