upgrade
Upgrade the Qlty CLI to the latest version or a specified version
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
--version [version]
Specify a specific version to upgrade to
--force
Run the upgrade even to the same version or an earlier version
--dry-run
Download and unpack the CLI but do not install it
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