--version argument, this command checks if there is a newer version of the Qlty CLI available than the current version.
If there is a release to install, it downloads the Qlty installer script from qlty.sh and runs it. The script downloads the release archive with curl or wget (PowerShell on Windows) and replaces the installed executable. That download relies on the operating system’s certificate store and does not check the release’s attestation.
Finally, the upgrade command will attempt to install shell completions.
Arguments
--version <VERSION>
--version <VERSION>
The version to upgrade to. Defaults to the latest version
--force
--force
Run the upgrade even if the latest version is already installed
--dry-run
--dry-run
Whether to perform a dry run
--verify-attestations
--verify-attestations
Verify SLSA provenance attestation before installing.Downloads the release archive and checks its attestation with the GitHub CLI (
gh 2.67.0 or later, signed in) before installing it. The upgrade stops if the attestation can’t be verified. Not supported on Windows.[env: QLTY_VERIFY_ATTESTATIONS=]See Integrity Verification.Commands
source
source
Upgrades the sourceSee
upgrade source.Examples
Upgrade to the latest Qlty CLI if one is available
Upgrade to version 0.299.0
Force re-installation even if no new version is available
Verify the release's attestation before installing it