snowclaw update

Update the OpenClaw base image version your project builds against.

Usage

snowclaw update

What it does

  1. Prompts for a new openclaw_version value (or accepts the current one).
  2. Writes the new version into .snowclaw/config.json.
  3. Offers to redeploy immediately — if you accept, it runs the full deploy pipeline 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.