Upgrading and migrating
WednesdayAI releases frequently. Treat updates like shipping infrastructure: update, run checks, restart, verify. This page covers upgrading in place, rolling back, and migrating to a new machine.Before you upgrade
- Know your install method — global npm/pnpm, or from source (git checkout).
- Know how your gateway runs — foreground terminal, systemd service (Linux), or macOS menubar app.
-
Snapshot your config:
Upgrade (recommended: installer script)
Re-run the installer — it detects your existing installation, upgrades in place, and runsopenclaw doctor afterward:
Upgrade (openclaw update)
openclaw update is the preferred path for source installs. It runs a safe update flow: requires a clean worktree, switches to the selected channel, fetches and rebases, installs deps, rebuilds core and the Control UI, runs openclaw doctor, and restarts the gateway (use --no-restart to skip).
openclaw update tries to update via your package manager; if it cannot detect the install, use the manual path below.
Select a release channel, or pin a one-off tag/version:
Control UI — Update & Restart
The control panel has an Update & Restart action (RPCupdate.run) for source installs. It runs the same source-update flow, writes a restart report, restarts the gateway, and pings the last active session with the result. If the rebase fails, the gateway aborts and restarts without applying the update.
Upgrade (manual)
- npm
- pnpm
- From source
After upgrading
If channels stopped working after an upgrade, run
openclaw doctor. WhatsApp auth state is migrated only via doctor, and doctor also warns if the service is now running on Bun or a version-managed Node path — WhatsApp and Telegram require a stable system Node.Auto-updater (optional)
The gateway can update itself on a schedule. Disabled by default:dev channel never auto-applies — use manual openclaw update.
Rolling back
- npm / pnpm
- From source
npm view openclaw versions --jsonMigrating to a new machine
Install on the new machine
Follow Getting started to install and onboard. Stop the gateway after onboarding completes.
WhatsApp credentials tied to a phone’s linked-device pairing may need re-scanning the QR on the new host. If WhatsApp shows disconnected after migration, run
openclaw channels logout --channel whatsapp && openclaw channels login --channel whatsapp.Related: Doctor · Troubleshooting · Getting started