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]Options
Section link for Options| Option | Type | Required | Description |
|---|---|---|---|
--check | flag | Optional | Print the current and latest versions without installing anything |
-y, --yes | flag | Optional | Skip the confirmation prompt and upgrade immediately |
This command also accepts the global options.
Examples
Section link for ExamplesCheck for a newer version without installing
Section link for Check for a newer version without installingvault upgrade --checkUpgrade immediately (non-interactive)
Section link for Upgrade immediately (non-interactive)vault upgrade --yes