macOS
brew install astralocal Homebrew formula metadata
brew
Command-Line Interface for DataStax Astra. Version 1.0.4 via Homebrew; verified 2026-06-22.
install
brew install astralocal Homebrew formula metadata
winget install --id Boof2015.Astra -eWindows Package Manager source index · Boof2015.Astra · source: cdn.winget.microsoft.com
overview
Command-Line Interface for DataStax Astra
history
astra is the command-line interface for DataStax Astra. It gives developers terminal access to Astra database and platform operations, including authenticated commands, setup, configuration profiles, output formatting, upgrades, and environment-aware automation.
The datastax/astra-cli repository was created in 2022. The current README describes the 1.0.0 beta generation of the CLI and points readers to the v0.x branch for the previous version, marking a significant rewrite or compatibility break in the tool's history.
The 1.x README emphasizes cross-platform Linux, macOS, and Windows support, official install scripts, Homebrew installation, direct releases, an astra upgrade command, and a more interactive terminal experience with colors, spinners, prompts, completions, stricter validation, and XDG-aware paths.
Astra CLI adoption is tied to DataStax Astra itself rather than to a general-purpose database client market. The official README documents install scripts and Homebrew as supported paths, while the supplied package facts also list a winget package. Its package-manager role is to make cloud database operations scriptable on developer machines and CI systems.
Users typically run astra setup to create or update credentials in a central .astrarc file, then use astra config subcommands and resource commands such as astra db list. The CLI can also avoid the credentials file by accepting --token and --env, and it supports JSON or CSV output for scripting.
For package nerds, astra is a vendor cloud CLI with explicit state paths and credential behavior. The v1 move to XDG_CONFIG_HOME/astra/.astrarc or ~/.astrarc matters because package upgrades can change where tokens live, how scripts authenticate, and whether users should upgrade through the CLI itself or through their package manager.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
$XDG_CONFIG_HOME/astra/.astrarc~/.astrarcCredential-bearing paths to review before unattended agent runs.
$XDG_CONFIG_HOME/astra/.astrarc~/.astrarcexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
astra | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/datastax/astra-cli
install metadata
| Package key | brew:astra |
|---|---|
| Version | 1.0.4 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/astra |
| Homepage | https://docs.datastax.com/en/astra-cli |
| Repository | https://github.com/datastax/astra-cli |
| Upstream docs | https://docs.datastax.com/en/astra-cli |
| License | Apache-2.0 |
| Source archive | https://github.com/datastax/astra-cli/archive/refs/tags/v1.0.4.tar.gz |
| Last updated | 2026-06-22T14:02:46-07:00 |
| Pulse | updated |
| Build dependencies | graalvm, gradle |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | astra |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
Boof2015.Astra
winget install --id Boof2015.Astra -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.