Astra CLI overview
The Astra DB Command-Line Interface (Astra CLI) provides commands you can use to create and manage Astra DB and Astra Streaming resources. These commands are designed to get you working quickly, with an emphasis on automation. For example, you can do the following:
-
Create and manage Astra DB databases, Astra Streaming tenants, and their associated artifacts.
-
Query and load data.
-
Manage organizations and users.
You can use Astra CLI in addition to the Astra Portal, Astra DB APIs, and CQL for Astra DB.
Sample Astra CLI use cases
-
Generate a
.env
file for a databaseThe generated
.env
is based on your current Astra CLIconfig
:-
To set the initial configuration, see Getting started with Astra CLI.
-
To set additional configurations, see Create and manage Astra CLI configurations.
-