Upgrade the Astra CLI

Keep the Astra CLI up to date to access new features, improvements, and security updates.

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

  1. Run the astra upgrade command to upgrade to the latest version of the Astra CLI:

    astra upgrade
  2. Optional: Upgrade to a specific version of the Astra CLI:

    astra upgrade --version VERSION

    You can also use this command to downgrade to a previous version.

  3. Check the Astra CLI version to verify that the upgrade was successful:

    astra --version

    The response returns your Astra CLI version.

  1. Run the astra upgrade command to upgrade to the latest version of the Astra CLI:

    astra upgrade
  2. Optional: Upgrade to a specific version of the Astra CLI:

    astra upgrade --version VERSION

    You can also use this command to downgrade to a previous version.

  3. Check the Astra CLI version to verify that the upgrade was successful:

    astra --version

    The response returns your Astra CLI version.

  1. Run the following command to upgrade to the latest version of the Astra CLI:

    brew upgrade datastax/astra-cli/astra
  2. Check the Astra CLI version to verify that the upgrade was successful:

    astra --version

    The response returns your Astra CLI version.

Was this helpful?

Give Feedback

How can we improve the documentation?

© Copyright IBM Corporation 2025 | Privacy policy | Terms of use Manage Privacy Choices

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: Contact IBM