# 使用 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='8.6212','homebank'

- 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
- **版本:** 2.62.3
- **来源摘要:** Declarative CLI Version manager
- **主页:** <https://aquaproj.github.io/>
- **仓库:** <https://github.com/aquaproj/aqua>
- **最后更新:** 2026-08-02T06:16:19Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- aqua (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.62.3
## 项目历史与用法

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
## 其他软件包管理器记录

- 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='8.6212','homebank'
- 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


## Combined YAML source

View the package source record on GitHub. [combined/aqua.yml](https://github.com/mxcl/pkgdb/blob/main/combined/aqua.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
