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.