Automic VaultAutomic Vault

brew

使用 Homebrew, winget 安装 astra

查看 astra 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install astra

local Homebrew formula metadata

Windows

Windows Package Manager已验证 · 92%
winget install --id Boof2015.Astra -e

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

概览

软件包摘要

Command-Line Interface for DataStax Astra

命令和别名

  • astra

历史

项目历史与用法

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.

时间线

  • 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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 5 个平台目标。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
astracli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本1.1.0
管理器更新时间2026-07-08
本地数据OK
上游当前
检测到的最新版本v1.1.0

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

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:astra
版本1.1.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/astra
主页https://docs.datastax.com/en/astra-cli
仓库https://github.com/datastax/astra-cli
上游文档https://docs.datastax.com/en/astra-cli
许可证Apache-2.0
源码归档https://github.com/datastax/astra-cli/archive/refs/tags/v1.1.0.tar.gz
最后更新2026-07-08T11:57:43Z
Pulseupdated
构建依赖graalvm, gradle
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

winget95%

Boof2015.Astra

winget install --id Boof2015.Astra -e
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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