Updating
Keep Velaclaw up to date.Recommended: velaclaw update
The fastest way to update. It detects your install type (npm or git), fetches the latest version, runs velaclaw doctor, and restarts the gateway.
--channel beta prefers beta, but the runtime falls back to stable/latest when
the beta tag is missing or older than the latest stable release. Use --tag beta
if you want the raw npm beta dist-tag for a one-off package update.
See Development channels for channel semantics.
How install type affects updates
Velaclaw can update in-place when the original install is still discoverable:- npm/pnpm/bun global install:
velaclaw updatereinstalls the globalvelaclawpackage from the configured channel. - Git/source install:
velaclaw updateupdates the checkout, rebuilds it, and keeps the global wrapper pointed at that checkout. - Container install:
velaclaw updatedoes not update the running image. Rebuild or pull the image, then restart the container.
origin/main, the updater
uses origin/main as a safe fallback.
Repair an older source install
Ifvelaclaw update reports no-upstream, fix the checkout once:
Alternative: re-run the installer
--no-onboard to skip onboarding. For source installs, pass --install-method git --no-onboard.
Alternative: manual npm, pnpm, or bun
Auto-updater
The auto-updater is off by default. Enable it in~/.Zavianx/velaclaw-dev.json:
The gateway also logs an update hint on startup (disable with
update.checkOnStart: false).
After updating
Rollback
Pin a version (npm)
npm view velaclaw version shows the current published version.
Pin a commit (source)
git checkout main && git pull.
If you are stuck
- Run
velaclaw doctoragain and read the output carefully. - For
velaclaw update --channel devon source checkouts, the updater auto-bootstrapspnpmwhen needed. If you see a pnpm/corepack bootstrap error, installpnpmmanually (or re-enablecorepack) and rerun the update. - Check: Troubleshooting
- Ask in Discord: https://discord.gg/BMtnggD9SM
Related
- Install Overview — all installation methods
- Doctor — health checks after updates
- Migrating — major version migration guides