Skip to content
Cisco AI Defense logo
CiscoAI Security

defenseclaw upgrade — DefenseClaw

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

FlagTypeDefaultEnv varRequiredDescription
--yes, -ybooleannoSkip confirmation prompts
--versiontextnoUpgrade to a specific release version (e.g. 0.3.1)
--health-timeoutinteger60noSeconds 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.

Related