# 使用 Homebrew, chocolatey, scoop, winget 安装 aqua

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

## 安装

```sh
sudo av install brew:aqua
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install aqua
```

  证据: local Homebrew formula metadata

### Windows

- Chocolatey (92%):

```sh
choco install aqua
```

  证据: Chocolatey community package catalog: aqua from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='7.158','newfiletime'

- Scoop (92%):

```sh
scoop install main/aqua
```

  证据: Scoop official bucket manifest trees: bucket/aqua.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id aquaproj.aqua -e
```

  证据: Windows Package Manager source index: aquaproj.aqua from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:aqua
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/aqua>
- **版本:** 2.60.1
- **来源摘要:** Declarative CLI Version manager
- **主页:** <https://aquaproj.github.io/>
- **仓库:** <https://github.com/aquaproj/aqua>
- **上游文档:** <https://aquaproj.github.io/docs>
- **许可证:** MIT
- **源码归档:** <https://github.com/aquaproj/aqua/archive/refs/tags/v2.60.1.tar.gz>
- **最后更新:** 2026-06-16T04:27:07Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- aqua (cli)
- aqua (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.60.1
- 管理器更新时间: 2026-06-16
- 本地数据: OK
- 上游仓库: https://github.com/aquaproj/aqua
- 检测到的最新版本: v2.60.1 (当前)
## 项目历史与用法

aqua is a declarative CLI version manager written in Go. It installs and switches command-line tools from YAML configuration, aiming at the same daily workflow space as asdf-style tool managers but with a registry, lazy install behavior, and Renovate-friendly version declarations.

### 项目历史

The official aqua repository was created in August 2021. The repository description calls it a declarative CLI version manager with lazy install, a registry, Renovate support, and seamless command version switching.

The documentation centers on `aqua.yaml` and registry-backed package definitions. The config reference documents local and global config discovery, standard and local registries, JSON Schema support, checksum settings, and security toggles for provenance verification.

### 采用历史

aqua is distributed through Homebrew, Chocolatey, Scoop, and winget in the input metadata. The official repository metadata shows active development, a four-digit star count, and topics around CLI tooling and version management.

The project explicitly documents Renovate integration, YAML language-server schemas, a standard registry, and using aqua together with other version managers such as asdf. That makes its adoption story especially package-manager-native: it is designed for repositories to declare the tools they need and let bots update those declarations.

### 使用方式

Users add packages such as `helm/helm@v3.7.0` or `golangci/golangci-lint@v1.42.1` to aqua configuration, pin a standard registry ref, and let aqua install or lazily install the requested executables.

Configuration discovery is intentionally repository-friendly: aqua checks `$AQUA_CONFIG`, then `.aqua.yaml`, `aqua.yaml`, `aqua/aqua.yaml`, and `.aqua/aqua.yaml` while walking up from the current directory, with `$AQUA_GLOBAL_CONFIG` for global tools.

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

aqua is interesting because it treats command-line tools themselves as lockable, reviewable project dependencies. The registry and Renovate conventions put CLI installation into the same maintenance loop as library dependencies, which is exactly the sort of thing package nerds care about.

### 时间线

- 2021: The official aqua repository was created.
- 2021: The documentation copyright begins and the project published docs under aquaproj.github.io.
- 2023: The config reference notes aqua v1.33.0 support for keeping configuration files in `.aqua` directories.
- 2024: The config reference documents v2-era provenance and policy controls such as Cosign, SLSA, and GitHub Artifact Attestation toggles.
- 2026: The repository remains actively maintained in the 2.x release line.

### Related projects

- Related projects and systems include aqua-registry, Renovate, GitHub Actions, YAML Language Server, Cosign, SLSA Provenance, GitHub Artifact Attestations, ghtkn, Keyring, and asdf.

### 来源

- <https://api.github.com/repos/aquaproj/aqua>
- <https://aquaproj.github.io/docs>
- <https://aquaproj.github.io/docs/reference/config>
- source_facts.package-manager


## 安全说明

infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- infrastructure mutation or orchestration signal


## 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: $AQUA_CONFIG, aqua.yaml, .aqua.yaml, aqua/aqua.yaml, .aqua/aqua.yaml, $AQUA_GLOBAL_CONFIG
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** aqua
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Chocolatey - aqua: normalized package name match | Chocolatey community package catalog: aqua from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='7.158','newfiletime'
- Scoop - main/aqua: normalized package name match | Scoop official bucket manifest trees: bucket/aqua.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - aquaproj.aqua: normalized package name match | Windows Package Manager source index: aquaproj.aqua from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [anyenv](https://www.automicvault.com/zh-hans/pkg/brew/anyenv/) - Shares av.db curated category or tags: cli, developer-tools, version-manager.
- [asdf](https://www.automicvault.com/zh-hans/pkg/brew/asdf/) - Shares av.db curated category or tags: cli, developer-tools, version-manager.
- [bob](https://www.automicvault.com/zh-hans/pkg/brew/bob/) - Shares av.db curated category or tags: cli, developer-tools, version-manager.
- [fnm](https://www.automicvault.com/zh-hans/pkg/brew/fnm/) - Shares av.db curated category or tags: cli, developer-tools, version-manager.
- [frum](https://www.automicvault.com/zh-hans/pkg/brew/frum/) - Shares av.db curated category or tags: cli, developer-tools, version-manager.
- [fvm](https://www.automicvault.com/zh-hans/pkg/brew/fvm/) - Shares av.db curated category or tags: cli, developer-tools, version-manager.
- [ghcup](https://www.automicvault.com/zh-hans/pkg/brew/ghcup/) - Shares av.db curated category or tags: cli, developer-tools, version-manager.
- [goenv](https://www.automicvault.com/zh-hans/pkg/brew/goenv/) - Shares av.db curated category or tags: cli, developer-tools, version-manager.

## Combined YAML source

View the package source record on GitHub. [combined/aqua.yml](https://github.com/automic-vault/db/blob/main/combined/aqua.yml)


## 来源

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