Skip to content

vault upgrade

Upgrade the Vault CLI to the latest version in place. Fetches the release manifest, compares the current build to the latest, and replaces the running binary. A staleness check runs automatically on other commands and prints a notice to stderr when a newer build is available.

vault upgrade [--check] [-y]
OptionTypeRequiredDescription
--checkflagOptionalPrint the current and latest versions without installing anything
-y, --yesflagOptionalSkip the confirmation prompt and upgrade immediately

This command also accepts the global options.

Check for a newer version without installing

Section link for Check for a newer version without installing
vault upgrade --check

Upgrade immediately (non-interactive)

Section link for Upgrade immediately (non-interactive)
vault upgrade --yes