Automic VaultAutomic Vault

brew

Install astra with Homebrew, winget

Command-Line Interface for DataStax Astra. Version 1.0.4 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install astra

local Homebrew formula metadata

Windows

Windows Package Managerverified · 92%
winget install --id Boof2015.Astra -e

Windows Package Manager source index · Boof2015.Astra · source: cdn.winget.microsoft.com

overview

Package summary

Command-Line Interface for DataStax Astra

Commands and aliases

  • astra

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2022: datastax/astra-cli repository created on GitHub.
  • 2020s: v0.x CLI existed before the current README's 1.0.0 beta generation.
  • 2020s: v1.x README documents Linux, macOS, and Windows support plus XDG-aware configuration.
  • 2026: GitHub tags and repository metadata showed active v1-era releases.

Related projects

  • DataStax Astra is the managed database platform operated by the CLI.
  • Apache Cassandra and related Astra DB tooling are adjacent to the CLI's database-management use cases.
  • Homebrew and winget provide package-manager installation routes alongside DataStax's official install scripts.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 5 platform targets.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
$XDG_CONFIG_HOME/astra/.astrarc~/.astrarc

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
$XDG_CONFIG_HOME/astra/.astrarc~/.astrarc

executables

Installed executables

CommandKindExposureNote
astracliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version1.0.4
manager updated2026-06-22
local dataok
upstreamcurrent
latest detectedv1.0.4

https://github.com/datastax/astra-cli

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:astra
Version1.0.4
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/astra
Homepagehttps://docs.datastax.com/en/astra-cli
Repositoryhttps://github.com/datastax/astra-cli
Upstream docshttps://docs.datastax.com/en/astra-cli
LicenseApache-2.0
Source archivehttps://github.com/datastax/astra-cli/archive/refs/tags/v1.0.4.tar.gz
Last updated2026-06-22T14:02:46-07:00
Pulseupdated
Build dependenciesgraalvm, gradle
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameastra
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

winget95%

Boof2015.Astra

winget install --id Boof2015.Astra -e
  • normalized package name match
  • Matched by: Astra
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Boof2015.Astra from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment