Skip to main content

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

  1. Know your install method — global npm/pnpm, or from source (git checkout).
  2. Know how your gateway runs — foreground terminal, systemd service (Linux), or macOS menubar app.
  3. Snapshot your config:
Re-run the installer — it detects your existing installation, upgrades in place, and runs openclaw doctor afterward:
Skip re-running the onboarding wizard:
For source installs:

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).
On npm/pnpm installs (no git metadata), 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 (RPC update.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)

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:
The dev channel never auto-applies — use manual openclaw update.

Rolling back

Find published versions: npm view openclaw versions --json

Migrating to a new machine

1

Export from the old machine

2

Install on the new machine

Follow Getting started to install and onboard. Stop the gateway after onboarding completes.
3

Restore

4

Verify

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