Skip to content

Updating

Keep OpenClaw up to date.

The fastest way to update. It detects your install type (npm or git), fetches the latest version, runs openclaw doctor, and restarts the gateway.

Terminal window
openclaw update

To switch channels or target a specific version:

Terminal window
openclaw update --channel beta
openclaw update --tag main
openclaw update --dry-run # preview without applying

See Development channels for channel semantics.

Terminal window
curl -fsSL https://openclaw.ai/install.sh | bash

Add --no-onboard to skip onboarding. For source installs, pass --install-method git --no-onboard.

Terminal window
npm i -g openclaw@latest
Terminal window
pnpm add -g openclaw@latest

The auto-updater is off by default. Enable it in ~/.openclaw/openclaw.json:

{
update: {
channel: "stable",
auto: {
enabled: true,
stableDelayHours: 6,
stableJitterHours: 12,
betaCheckIntervalHours: 1,
},
},
}
ChannelBehavior
stableWaits stableDelayHours, then applies with deterministic jitter across stableJitterHours (spread rollout).
betaChecks every betaCheckIntervalHours (default: hourly) and applies immediately.
devNo automatic apply. Use openclaw update manually.

The gateway also logs an update hint on startup (disable with update.checkOnStart: false).

    Terminal window
    npm i -g openclaw@<version>
    openclaw doctor
    openclaw gateway restart

    Tip: npm view openclaw version shows the current published version.

    Terminal window
    git fetch origin
    git checkout "$(git rev-list -n 1 --before=\"2026-01-01\" origin/main)"
    pnpm install && pnpm build
    openclaw gateway restart

    To return to latest: git checkout main && git pull.