docs: 添加 Bun 安装详细说明

- 添加 Linux/macOS/Windows 各平台的安装命令
- 添加安装后的操作步骤(重启终端、验证安装、更新版本)
- 同步更新中英文 README
This commit is contained in:
YuanyuanMa03
2026-04-24 12:07:18 +08:00
parent 2a5b263641
commit 02ab1a0307
2 changed files with 70 additions and 0 deletions

View File

@@ -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 的方式, 各大提供商都有自己的配置方式
### 📥 安装

View File

@@ -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