Overview
defenseclaw upgrade — Upgrade DefenseClaw to the latest version.
Reference
Synopsis
defenseclaw upgrade [OPTIONS]
Description
Upgrade DefenseClaw to the latest version
Upgrade DefenseClaw to the latest version.
Downloads pre-built release artifacts (gateway binary, Python CLI wheel) from GitHub Releases, runs version-specific migrations, and restarts services. Your existing configuration is preserved.
The upgrade is non-destructive: artifacts are downloaded and verified before the gateway is stopped, so a failed download never disrupts a running gateway.
Options
| Flag | Type | Default | Env var | Required | Description |
|---|---|---|---|---|---|
--yes, -y | boolean | — | — | no | Skip confirmation prompts |
--version | text | — | — | no | Upgrade to a specific release version (e.g. 0.3.1) |
--health-timeout | integer | 60 | — | no | Seconds to wait for gateway health after restart |
Usage
Upgrade to a specific version
defenseclaw upgrade --version 1.2.3 --yes
The version flag pins the requested DefenseClaw release.
Tune health wait time
defenseclaw upgrade --health-timeout 60
Use a longer timeout on slower hosts where the sidecar needs more startup time after upgrade.