snowclaw update
Update the OpenClaw base image version your project builds against.
Usage
snowclaw update
What it does
- Prompts for a new
openclaw_versionvalue (or accepts the current one). - Writes the new version into
.snowclaw/config.json. - Offers to redeploy immediately — if you accept, it runs the full
deploypipeline so the new image ships to SPCS.
The CLI itself updates via the install script: re-running the curl | bash one-liner pulls the latest SnowClaw repo and reinstalls via pipx.
Pinning versions
.snowclaw/config.json holds the openclaw_version the project is pinned to. That's the source of truth for what gets baked into your next snowclaw build or snowclaw deploy. Check this file into git if you want team members to use the same version.
The Dockerfile substitutes this value at build time as FROM ghcr.io/openclaw/openclaw:${OPENCLAW_VERSION}. Defaults to latest if unset.