Upgrade the Astra CLI
Keep the Astra CLI up to date to access new features, improvements, and security updates.
If you’re upgrading from version 0.6 or earlier, see Upgrade from pre-1.0 versions of the Astra CLI.
|
If you used a package manager to install the Astra CLI, such as Homebrew, then you must use the same package manager to upgrade the Astra CLI. |
-
macOS and Linux
-
Windows
-
Homebrew
-
Run the
astra upgradecommand to upgrade to the latest version of the Astra CLI:astra upgrade -
Optional: Upgrade to a specific version of the Astra CLI:
astra upgrade --version VERSIONYou can also use this command to downgrade to a previous version.
-
Check the Astra CLI version to verify that the upgrade was successful:
astra --versionThe response returns your Astra CLI version.
-
Run the
astra upgradecommand to upgrade to the latest version of the Astra CLI:astra upgrade -
Optional: Upgrade to a specific version of the Astra CLI:
astra upgrade --version VERSIONYou can also use this command to downgrade to a previous version.
-
Check the Astra CLI version to verify that the upgrade was successful:
astra --versionThe response returns your Astra CLI version.
-
Run the following command to upgrade to the latest version of the Astra CLI:
brew upgrade datastax/astra-cli/astra -
Check the Astra CLI version to verify that the upgrade was successful:
astra --versionThe response returns your Astra CLI version.