# astra を Homebrew, winget でインストール

astra のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:astra
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install astra
```

  証拠: local Homebrew formula metadata

### Windows

- winget (92%):

```sh
winget install --id Boof2015.Astra -e
```

  証拠: Windows Package Manager source index: Boof2015.Astra from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:astra
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.1.0
- **ソース概要:** Command-Line Interface for DataStax Astra
- **ホームページ:** <https://docs.datastax.com/en/astra-cli>
- **リポジトリ:** <https://github.com/datastax/astra-cli>
- **最終更新:** 2026-07-08T11:57:43Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- astra (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.1.0
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://api.github.com/repos/datastax/astra-cli>
- <https://docs.datastax.com/en/astra-cli>
- <https://github.com/datastax/astra-cli#readme>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## 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

- Unix: $XDG_CONFIG_HOME/astra/.astrarc, ~/.astrarc

## Credential files

- Unix: $XDG_CONFIG_HOME/astra/.astrarc, ~/.astrarc
## 他のパッケージマネージャ記録

- winget - Boof2015.Astra: normalized package name match | Windows Package Manager source index: Boof2015.Astra from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/astra.yml](https://github.com/mxcl/pkgdb/blob/main/combined/astra.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
