# 使用 Homebrew 安装 clusterawsadm

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

## 安装

```sh
sudo av install brew:clusterawsadm
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install clusterawsadm
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:clusterawsadm
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/clusterawsadm>
- **版本:** 2.13.0
- **来源摘要:** Home for bootstrapping, AMI, EKS, and other helpers in Cluster API Provider AWS
- **主页:** <https://cluster-api-aws.sigs.k8s.io/clusterawsadm/clusterawsadm.html>
- **仓库:** <https://github.com/kubernetes-sigs/cluster-api-provider-aws>
- **上游文档:** <https://cluster-api-aws.sigs.k8s.io/clusterawsadm/clusterawsadm.html>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/kubernetes-sigs/cluster-api-provider-aws.git>
- **最后更新:** 2026-07-29T17:54:14Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- clusterawsadm (cli)
- clusterawsadm (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.13.0
- 管理器更新时间: 2026-07-29
- 本地数据: OK
- 上游仓库: https://github.com/kubernetes-sigs/cluster-api-provider-aws
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

clusterawsadm is the management utility shipped with Kubernetes Cluster API Provider AWS for AWS IAM, AMI, EKS, and controller-administration tasks.

### 项目历史

Cluster API Provider AWS is the AWS infrastructure provider for Kubernetes Cluster API. Its docs describe CAPA as Kubernetes-native declarative infrastructure for AWS and list clusterawsadm as the CLI tool that provides bootstrapping, AMI, EKS, and controller helpers.

clusterawsadm exists because CAPA needs AWS prerequisites before `clusterctl init --infrastructure aws`: the command can print or create IAM policies, roles, and instance profiles through CloudFormation and can encode credentials for clusterctl.

### 采用历史

The official CAPA documentation says clusterawsadm binaries are attached to each CAPA release and that it can be installed with Homebrew on macOS and Linux.

Its adoption is tied to Cluster API Provider AWS operators: users run it before or around clusterctl initialization to prepare AWS accounts for declarative Kubernetes cluster lifecycle management.

### 使用方式

Common usage includes `clusterawsadm bootstrap iam create-cloudformation-stack` to create IAM prerequisites and `clusterawsadm bootstrap credentials encode-as-profile` to provide encoded AWS credentials for `clusterctl init --infrastructure aws`.

The command reference also exposes AMI, bootstrap, controller, EKS, garbage-collection, resource, and version subcommands.

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

clusterawsadm is a good package-manager example of a narrowly scoped admin companion binary: it is not the core controller, but packagers ship it because real CAPA installs need a local CLI for account bootstrapping and release-aligned assets.

### 时间线

- 2019: Cluster API Provider AWS GitHub releases include v0.1.x and v0.3.x releases.
- 2021: CAPA v1.0.0 was published shortly after Cluster API v1.0.0.
- 2022: CAPA v2.0.0 was published.
- 2026: The generated command reference lists clusterawsadm docs generated by Cobra on June 29, 2026.

### Related projects

- Cluster API Provider AWS is the parent project that ships clusterawsadm.
- Cluster API and clusterctl are the core upstream projects in the workflow.
- kops and kubicorn are named in the CAPA introduction as previous cluster-manager projects whose lessons informed Cluster API-style infrastructure.

### 来源

- <https://cluster-api-aws.sigs.k8s.io/introduction>
- <https://cluster-api-aws.sigs.k8s.io/clusterawsadm/clusterawsadm.html>
- <https://cluster-api-aws.sigs.k8s.io/topics/using-clusterawsadm-to-fulfill-prerequisites>
- <https://github.com/kubernetes-sigs/cluster-api-provider-aws/releases>


## 安全说明

infrastructure mutation or orchestration signal.

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** clusterawsadm
- **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


## 相关链接

- [Cloud CLI packages](https://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [eksctl](https://pkg.so/zh-hans/brew/eksctl/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, cloudformation, kubernetes.
- [aws-iam-authenticator](https://pkg.so/zh-hans/brew/aws-iam-authenticator/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, iam, kubernetes.
- [clusterctl](https://pkg.so/zh-hans/brew/clusterctl/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, cluster-api, kubernetes.
- [aws-sso-util](https://pkg.so/zh-hans/brew/aws-sso-util/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, cloudformation.
- [rosa-cli](https://pkg.so/zh-hans/brew/rosa-cli/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, kubernetes.
- [aws-console](https://pkg.so/zh-hans/brew/aws-console/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, cloudformation.
- [kubernetes-cli](https://pkg.so/zh-hans/brew/kubernetes-cli/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes.
- [k9s](https://pkg.so/zh-hans/brew/k9s/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
