From 02ab1a0307fc7c492c5d6be8ebced0bb29545120 Mon Sep 17 00:00:00 2001 From: YuanyuanMa03 <2942204237@qq.com> Date: Fri, 24 Apr 2026 12:07:18 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=B7=BB=E5=8A=A0=20Bun=20=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E8=AF=A6=E7=BB=86=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加 Linux/macOS/Windows 各平台的安装命令 - 添加安装后的操作步骤(重启终端、验证安装、更新版本) - 同步更新中英文 README --- README.md | 35 +++++++++++++++++++++++++++++++++++ README_EN.md | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/README.md b/README.md index e1d74d821..b310a33fe 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,41 @@ CLAUDE_BRIDGE_BASE_URL=https://remote-control.claude-code-best.win/ CLAUDE_BRIDG 一定要最新版本的 bun 啊, 不然一堆奇奇怪怪的 BUG!!! bun upgrade!!! - 📦 [Bun](https://bun.sh/) >= 1.3.11 + +**安装 Bun:** + +```bash +# Linux 和 macOS +curl -fsSL https://bun.sh/install | bash + +# Windows (PowerShell) +powershell -c "irm bun.sh/install.ps1 | iex" +``` + +**安装后的操作:** + +1. **重启终端** 或重新加载 shell 配置文件: + ```bash + # macOS/Linux (zsh) + source ~/.zshrc + + # macOS/Linux (bash) + source ~/.bashrc + + # Windows PowerShell + # 关闭并重新打开 PowerShell 即可 + ``` + +2. **验证安装:** + ```bash + bun --version + ``` + +3. **更新到最新版本(如果已安装):** + ```bash + bun upgrade + ``` + - ⚙️ 常规的配置 CC 的方式, 各大提供商都有自己的配置方式 ### 📥 安装 diff --git a/README_EN.md b/README_EN.md index 5e3255b3e..28eda73bb 100644 --- a/README_EN.md +++ b/README_EN.md @@ -48,6 +48,41 @@ Sponsor placeholder. Make sure you're on the latest version of Bun, otherwise you'll run into all sorts of weird bugs. Run `bun upgrade`! - [Bun](https://bun.sh/) >= 1.3.11 + +**Install Bun:** + +```bash +# Linux and macOS +curl -fsSL https://bun.sh/install | bash + +# Windows (PowerShell) +powershell -c "irm bun.sh/install.ps1 | iex" +``` + +**Post-installation steps:** + +1. **Restart your terminal** or reload your shell configuration: + ```bash + # macOS/Linux (zsh) + source ~/.zshrc + + # macOS/Linux (bash) + source ~/.bashrc + + # Windows PowerShell + # Close and reopen PowerShell + ``` + +2. **Verify installation:** + ```bash + bun --version + ``` + +3. **Update to latest version (if already installed):** + ```bash + bun upgrade + ``` + - Standard Claude Code configuration — each provider has its own setup method ### Install