snowclaw upgrade
Update the SnowClaw CLI itself to the latest version. Does a git pull on your local SnowClaw checkout and reinstalls via pipx.
Not the same as
snowclaw update.updatebumps the OpenClaw base image your project builds against.upgradebumps the SnowClaw CLI you have installed.
Usage
snowclaw upgrade
What it does
- Locates the SnowClaw repo (walks up from the installed CLI file to find the
.gitdir — usually~/.snowclaw). - Warns if the repo has uncommitted changes (it'll still proceed, but you should know).
- Runs
git pull --ff-onlyto fetch the latestmain. - If already up to date, exits with the current version.
- Otherwise, reinstalls via
pipx install --force -e <repo>. - Prints the old → new version diff.
When to run it
- Periodically, to pick up new CLI features, bug fixes, and template changes.
- After you see a feature referenced in the docs that your local CLI doesn't have.
- Before running
snowclaw setup --forcewhen you want the latest scaffolded templates.
Alternative: re-run the install script
The install script is also idempotent — running the same curl | bash one-liner again does the same thing as snowclaw upgrade. Either works; upgrade is just the one-command shortcut.