docs: refresh package-manager update references

This commit is contained in:
Peter Steinberger
2026-04-04 11:17:14 +01:00
parent c441db7e13
commit a631270f01
3 changed files with 9 additions and 4 deletions

View File

@@ -10,7 +10,8 @@ title: "update"
Safely update OpenClaw and switch between stable/beta/dev channels.
If you installed via **npm/pnpm** (global install, no git metadata), updates happen via the package manager flow in [Updating](/install/updating).
If you installed via **npm/pnpm/bun** (global install, no git metadata),
updates happen via the package-manager flow in [Updating](/install/updating).
## Usage
@@ -95,7 +96,7 @@ High-level:
3. Fetches upstream (dev only).
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.
5. Rebases onto the selected commit (dev only).
6. Installs deps (pnpm preferred; npm fallback).
6. Installs deps (pnpm preferred; npm fallback; bun remains available as a secondary compatibility fallback).
7. Builds + builds the Control UI.
8. Runs `openclaw doctor` as the final “safe update” check.
9. Syncs plugins to the active channel (dev uses bundled extensions; stable/beta uses npm) and updates npm-installed plugins.

View File

@@ -1,5 +1,5 @@
---
summary: "Install OpenClaw — installer script, npm/pnpm, from source, Docker, and more"
summary: "Install OpenClaw — installer script, npm/pnpm/bun, from source, Docker, and more"
read_when:
- You need an install method other than the Getting Started quickstart
- You want to deploy to a cloud platform

View File

@@ -40,7 +40,7 @@ curl -fsSL https://openclaw.ai/install.sh | bash
Add `--no-onboard` to skip onboarding. For source installs, pass `--install-method git --no-onboard`.
## Alternative: manual npm or pnpm
## Alternative: manual npm, pnpm, or bun
```bash
npm i -g openclaw@latest
@@ -50,6 +50,10 @@ npm i -g openclaw@latest
pnpm add -g openclaw@latest
```
```bash
bun add -g openclaw@latest
```
## Auto-updater
The auto-updater is off by default. Enable it in `~/.openclaw/openclaw.json`: