Automic VaultAutomic Vault

brew

使用 Homebrew, winget 安装 astro

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install astro

local Homebrew formula metadata

Windows

Windows Package Manager已验证 · 92%
winget install --id Astronomer.Astro -e

Windows Package Manager source index · Astronomer.Astro · 来源: cdn.winget.microsoft.com

概览

软件包摘要

To build and run Airflow DAGs locally and interact with the Astronomer API

命令和别名

  • astro

历史

项目历史与用法

Astro CLI is Astronomer's command-line interface for developing Apache Airflow projects locally and deploying them to Astronomer products. In package-manager terms it is the small Go binary that turns a directory of DAGs, requirements, Dockerfile, and Astro project metadata into a repeatable local Airflow environment and a deployable unit.

项目历史

The CLI grew out of Astronomer's Airflow platform tooling and was distributed publicly as the astro-cli repository. Its README describes it as a command-line interface for data orchestration that works with Astronomer products, and its release notes mark all releases before 1.0.0 as beta. Version 1.0.0 was published in May 2022 as the converged Astro CLI release, while Astronomer's own CLI release notes document the transition from older astrocloud command names to the standardized astro login, astro logout, astro dev init, and deployment commands.

The tool's center of gravity is local developer experience for Airflow: astro dev init creates a project skeleton, astro dev start runs the Airflow stack locally in containers, and deployment/workspace commands talk to Astronomer APIs. Later releases added Windows package-manager support, organization and context switching, richer config commands, and deployment inspection/logging features.

采用历史

Homebrew packages the CLI as astro and the upstream README documents brew install astro for macOS, winget install -e --id Astronomer.Astro for Windows, and an install.astronomer.io shell installer for Linux. That multi-channel distribution matters because Airflow teams often need the same CLI in laptops, CI, and enterprise Windows workstations.

Adoption is tied to Astronomer's hosted Astro and Astronomer Software/Private Cloud products rather than being a general Airflow replacement. The CLI became the user-facing packaging point for Astronomer's Airflow workflow: initialize a project, run it locally, test DAGs, and deploy to a managed Deployment.

使用方式

Typical package usage starts with brew install astro, then astro dev init in an empty project directory and astro dev start to build and run local Airflow containers. The generated project includes dags, tests, Dockerfile, requirements.txt, packages.txt, plugins, include, and an .astro/config.yaml file for project settings.

Astro CLI stores project settings in .astro/config.yaml and global settings in a user-level Astro config file. Astronomer documentation notes project-level settings such as webserver and Postgres ports and says global configuration is stored centrally with the executable, for example under ~/.astro/config.yaml on Unix-like systems. Login-related context and cached identity state also live in the user-level config.

为什么软件包爱好者会关心

For package nerds, astro is a good example of a cloud-product CLI that still earns a normal package-manager slot because its heavy dependencies are external services and container runtimes, not vendored platform SDKs. The package is mostly a single command surface, but it orchestrates Docker/Podman, generated project files, Airflow commands, and authenticated API calls.

The formula is also notable because it has to track a fast-moving SaaS CLI while preserving enough compatibility for CI images and developer laptops. Astronomer's docs warn that backward compatibility is guaranteed only between matching minor versions of the platform and CLI, which makes package version selection operationally important.

时间线

  • 2021: Public beta-era Astro CLI releases were already being published from the astronomer/astro-cli repository.
  • 2022-05-27: Astro CLI v1.0.0 was published as the converged v1 release.
  • 2022-06-28: Astronomer documented Astro CLI 1.2.0 and the standardized astro command names.
  • 2022-10-27: Astro CLI v1.6.0 added documented winget installation support for Windows.
  • 2026: Astronomer documentation continues to position Astro CLI as the command reference and local development tool for Astro projects.

Related projects

  • Apache Airflow is the workflow engine Astro CLI packages around for local and managed development.
  • Docker or Podman provide the local container runtime used by astro dev commands.
  • Astronomer Astro and Astronomer Software/Private Cloud are the platform targets for deployment and context commands.

安全态势

尚未找到受保护工具覆盖

没有找到 astro 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 5 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

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

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
.astro/config.yaml~/.astro/config.yaml
Windows
.astro/config.yaml%USERPROFILE%\.astro\config.yaml

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.astro/config.yaml
Windows
%USERPROFILE%\.astro\config.yaml

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

https://github.com/astronomer/astro-cli

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

安装元数据

软件包元数据

软件包键brew:astro
版本1.43.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/astro
主页https://www.astronomer.io/
仓库https://github.com/astronomer/astro-cli
上游文档https://www.astronomer.io/docs/astro/cli/configure-cli
许可证Apache-2.0
源码归档https://github.com/astronomer/astro-cli/archive/refs/tags/v1.43.1.tar.gz
最后更新2026-07-02T16:40:03Z
Pulseupdated
依赖podman
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

winget95%

Astronomer.Astro

winget install --id Astronomer.Astro -e
  • normalized package name match
  • 匹配方式:Astro
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Astronomer.Astro 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