openclaw update
Update OpenClaw to the latest version and manage update channels.Usage
Options
Persist update channel:
stable, beta, or devstable: Tagged releases (recommended)beta: Pre-release versionsdev: Latest development branch
Override npm dist-tag or version for this update (one-time, not persisted)
Skip restarting the gateway service after a successful update
Timeout for each update step in seconds (default: 1200)
Skip confirmation prompts (non-interactive, accept downgrade prompts)
Output result as JSON
Commands
wizard
Interactive update wizard with guided prompts.Timeout for each update step in seconds (default: 1200)
status
Show update channel and version status.Output result as JSON
Timeout for update checks in seconds (default: 3)
Update Channels
stable
Recommended for production use:- Tagged releases only (e.g.,
v2026.2.19) - npm dist-tag:
latest - Thoroughly tested
- Includes macOS app releases
beta
Early access to new features:- Pre-release tags (e.g.,
v2026.2.19-beta.1) - npm dist-tag:
beta - Less tested than stable
- May not include macOS app
dev
Latest development code:- Moving head on
mainbranch - No npm dist-tag (git only)
- Bleeding edge features
- Requires source checkout
Update Process
The update process varies by installation method:Git Checkout
For source installations:- Fetch latest changes from remote
- Rebase onto target branch/tag
- Install dependencies (
pnpm install) - Build the project (
pnpm build) - Run diagnostics (
openclaw doctor) - Restart gateway (unless
--no-restart)
npm Install
For global npm installations:- Detect package manager (npm, pnpm, yarn, bun)
- Update via package manager
- Restart gateway (unless
--no-restart)
Examples
Channel Persistence
The--channel flag persists the channel preference to config:
openclaw update commands use the saved channel.
The --tag flag is not persisted (one-time override).
Update Status
Check update channel and version:Automatic Updates
OpenClaw does not auto-update by default. To enable automatic updates:Cron (Linux/macOS)
systemd Timer (Linux)
Create~/.config/systemd/user/openclaw-update.timer:
~/.config/systemd/user/openclaw-update.service:
Troubleshooting
Update Fails
-
Check for uncommitted changes (git installs):
-
Check network connectivity:
-
Check disk space:
-
Try manual update:

