mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-15 12:55:51 +00:00
docs: 添加 Bun 安装详细说明
- 添加 Linux/macOS/Windows 各平台的安装命令 - 添加安装后的操作步骤(重启终端、验证安装、更新版本) - 同步更新中英文 README
This commit is contained in:
35
README_EN.md
35
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
|
||||
|
||||
Reference in New Issue
Block a user