Skip to main content
This reference documents Qlty CLI v0.668.0.
Upgrade the Qlty CLI When run without a --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

The version to upgrade to. Defaults to the latest version
Run the upgrade even if the latest version is already installed
Whether to perform a dry run
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

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

See Also