upgrade

$qlty upgrade [OPTIONS] [COMMAND]

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 will download and unpack it to a tempoary directory.

It will then rename the executable to replace the currently running executable, to complete the upgrade.

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

Commands

Upgrades the source

Examples

Upgrade to the latest Qlty CLI if one is available
$qlty upgrade
Upgrade to version 0.299.0
$qlty upgrade --version 0.299.0
Force re-installation even if no new version is available
$qlty upgrade --force

See Also