Skip to content

Commit 23aad37

Browse files
Merge pull request claude-code-best#341 from YuanyuanMa03/docs/bun-installation-guide
docs: 添加 Bun 安装详细说明
2 parents 1e5235f + 0f226eb commit 23aad37

2 files changed

Lines changed: 70 additions & 0 deletions

File tree

README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,41 @@ CLAUDE_BRIDGE_BASE_URL=https://remote-control.claude-code-best.win/ CLAUDE_BRIDG
6060
一定要最新版本的 bun 啊, 不然一堆奇奇怪怪的 BUG!!! bun upgrade!!!
6161

6262
- 📦 [Bun](https://bun.sh/) >= 1.3.11
63+
64+
**安装 Bun:**
65+
66+
```bash
67+
# Linux 和 macOS
68+
curl -fsSL https://bun.sh/install | bash
69+
70+
# Windows (PowerShell)
71+
powershell -c "irm bun.sh/install.ps1 | iex"
72+
```
73+
74+
**安装后的操作:**
75+
76+
1. **重启终端** 或重新加载 shell 配置文件:
77+
```bash
78+
# macOS/Linux (zsh)
79+
source ~/.zshrc
80+
81+
# macOS/Linux (bash)
82+
source ~/.bashrc
83+
84+
# Windows PowerShell
85+
# 关闭并重新打开 PowerShell 即可
86+
```
87+
88+
2. **验证安装:**
89+
```bash
90+
bun --version
91+
```
92+
93+
3. **更新到最新版本(如果已安装):**
94+
```bash
95+
bun upgrade
96+
```
97+
6398
- ⚙️ 常规的配置 CC 的方式, 各大提供商都有自己的配置方式
6499

65100
### 📥 安装

README_EN.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,41 @@ Sponsor placeholder.
4848
Make sure you're on the latest version of Bun, otherwise you'll run into all sorts of weird bugs. Run `bun upgrade`!
4949

5050
- [Bun](https://bun.sh/) >= 1.3.11
51+
52+
**Install Bun:**
53+
54+
```bash
55+
# Linux and macOS
56+
curl -fsSL https://bun.sh/install | bash
57+
58+
# Windows (PowerShell)
59+
powershell -c "irm bun.sh/install.ps1 | iex"
60+
```
61+
62+
**Post-installation steps:**
63+
64+
1. **Restart your terminal** or reload your shell configuration:
65+
```bash
66+
# macOS/Linux (zsh)
67+
source ~/.zshrc
68+
69+
# macOS/Linux (bash)
70+
source ~/.bashrc
71+
72+
# Windows PowerShell
73+
# Close and reopen PowerShell
74+
```
75+
76+
2. **Verify installation:**
77+
```bash
78+
bun --version
79+
```
80+
81+
3. **Update to latest version (if already installed):**
82+
```bash
83+
bun upgrade
84+
```
85+
5186
- Standard Claude Code configuration — each provider has its own setup method
5287

5388
### Install

0 commit comments

Comments
 (0)