Caricamento in corso...
Caricamento in corso...
Last synced: Today, 22:00
Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.
Use this file to discover all available pages before exploring further.
Keep OpenClaw up to date.
openclaw updateThe fastest way to update. It detects your install type (npm or git), fetches the latest version, runs
openclaw doctorbashopenclaw update
To switch channels or target a specific version:
bashopenclaw update --channel beta openclaw update --channel dev openclaw update --tag main openclaw update --dry-run # preview without applying
--channel beta--tag betaSee Development channels for channel semantics.
Use channels when you want to change the install type. The updater keeps your state, config, credentials, and workspace in
~/.openclawbash# npm package install -> editable git checkout openclaw update --channel dev # git checkout -> npm package install openclaw update --channel stable
Run with
--dry-runbashopenclaw update --channel dev --dry-run openclaw update --channel stable --dry-run
The
devstablebetaopenclaw update--no-restartbashcurl -fsSL https://openclaw.ai/install.sh | bash
Add
--no-onboard--install-method git --no-onboard--install-method npm --no-onboardIf
openclaw updatebashcurl -fsSL https://openclaw.ai/install.sh | bash -s -- --install-method npm
To pin the recovery to a specific version or dist-tag, add
--versionbashcurl -fsSL https://openclaw.ai/install.sh | bash -s -- --install-method npm --version <version-or-dist-tag>
bashnpm i -g openclaw@latest
When
openclaw updatedist--omit=optionalbashpnpm add -g openclaw@latest
bashbun add -g openclaw@latest
The auto-updater is off by default. Enable it in
~/.openclaw/openclaw.jsonjson5{ update: { channel: "stable", auto: { enabled: true, stableDelayHours: 6, stableJitterHours: 12, betaCheckIntervalHours: 1, }, }, }
| Channel | Behavior |
|---|---|
text stable | Waits text stableDelayHourstext stableJitterHours |
text beta | Checks every text betaCheckIntervalHours |
text dev | No automatic apply. Use text openclaw update |
The gateway also logs an update hint on startup (disable with
update.checkOnStart: falseOPENCLAW_NO_AUTO_UPDATE=1update.auto.enabledupdate.checkOnStartbashopenclaw doctor
Migrates config, audits DM policies, and checks gateway health. Details: Doctor
bashopenclaw gateway restart
bashopenclaw health
bashnpm i -g openclaw@<version> openclaw doctor openclaw gateway restart
bashgit 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 pullopenclaw doctoropenclaw update --channel devpnpmpnpmcorepack© 2024 TaskFlow Mirror
Powered by TaskFlow Sync Engine