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

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