Skip to content

Commit a631270

Browse files
committed
docs: refresh package-manager update references
1 parent c441db7 commit a631270

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

‎docs/cli/update.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ title: "update"
1010

1111
Safely update OpenClaw and switch between stable/beta/dev channels.
1212

13-
If you installed via **npm/pnpm** (global install, no git metadata), updates happen via the package manager flow in [Updating](/install/updating).
13+
If you installed via **npm/pnpm/bun** (global install, no git metadata),
14+
updates happen via the package-manager flow in [Updating](/install/updating).
1415

1516
## Usage
1617

@@ -95,7 +96,7 @@ High-level:
9596
3. Fetches upstream (dev only).
9697
4. Dev only: preflight lint + TypeScript build in a temp worktree; if the tip fails, walks back up to 10 commits to find the newest clean build.
9798
5. Rebases onto the selected commit (dev only).
98-
6. Installs deps (pnpm preferred; npm fallback).
99+
6. Installs deps (pnpm preferred; npm fallback; bun remains available as a secondary compatibility fallback).
99100
7. Builds + builds the Control UI.
100101
8. Runs `openclaw doctor` as the final “safe update” check.
101102
9. Syncs plugins to the active channel (dev uses bundled extensions; stable/beta uses npm) and updates npm-installed plugins.

‎docs/install/index.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
summary: "Install OpenClaw — installer script, npm/pnpm, from source, Docker, and more"
2+
summary: "Install OpenClaw — installer script, npm/pnpm/bun, from source, Docker, and more"
33
read_when:
44
- You need an install method other than the Getting Started quickstart
55
- You want to deploy to a cloud platform

‎docs/install/updating.md‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ curl -fsSL https://openclaw.ai/install.sh | bash
4040

4141
Add `--no-onboard` to skip onboarding. For source installs, pass `--install-method git --no-onboard`.
4242

43-
## Alternative: manual npm or pnpm
43+
## Alternative: manual npm, pnpm, or bun
4444

4545
```bash
4646
npm i -g openclaw@latest
@@ -50,6 +50,10 @@ npm i -g openclaw@latest
5050
pnpm add -g openclaw@latest
5151
```
5252

53+
```bash
54+
bun add -g openclaw@latest
55+
```
56+
5357
## Auto-updater
5458

5559
The auto-updater is off by default. Enable it in `~/.openclaw/openclaw.json`:

0 commit comments

Comments
 (0)