# 使用 Homebrew 安装 cdk8s

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

## 安装

```sh
sudo av install brew:cdk8s
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cdk8s
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:cdk8s
- **软件包管理器:** Homebrew
- **版本:** 2.207.44
- **来源摘要:** Define k8s native apps and abstractions using object-oriented programming
- **主页:** <https://cdk8s.io/>
- **最后更新:** 2026-08-02T08:57:24Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- cdk8s (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

cdk8s is the Cloud Development Kit for Kubernetes, a framework and CLI for defining Kubernetes manifests in general-purpose programming languages and synthesizing them to YAML.

### 项目历史

AWS introduced cdk8s publicly in 2020 as a Kubernetes-focused member of the broader CDK family. The official documentation presents it around apps, charts, constructs, and imports, mirroring the construct model familiar from AWS CDK while targeting Kubernetes manifests.

The Homebrew package installs the cdk8s CLI, whose official GitHub repository is cdk8s-team/cdk8s-cli. The documentation site links to the broader cdk8s-team/cdk8s project for framework documentation and source.

### 采用历史

cdk8s grew in the infrastructure-as-code community as a code-first alternative to hand-written Kubernetes YAML, Helm templates, and Kustomize overlays. Its official docs support TypeScript, Python, Java, and Go language guides, reflecting adoption by teams that prefer typed languages and reusable constructs.

The project later became associated with the Cloud Native Computing Foundation ecosystem as a CNCF Sandbox project, giving it a recognizable place among Kubernetes tooling rather than as only an AWS-authored experiment.

### 使用方式

Typical use starts with cdk8s init, a project-level cdk8s.yaml file, and app code that defines charts and constructs. The CLI synthesizes manifests for review or deployment through other Kubernetes workflows.

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

For package people, cdk8s matters because it packages a Node-based CLI for a polyglot framework: the formula is the command-line entry point, while generated bindings and constructs connect npm, PyPI, Maven, Go modules, and Kubernetes release churn.

### 时间线

- 2020: AWS publicly introduces cdk8s for Kubernetes manifests.
- 2021: cdk8s-cli repository created under the cdk8s-team organization.
- 2020s: Documentation grows around multiple programming languages and Kubernetes construct workflows.

### Related projects

- cdk8s is part of the CDK family of infrastructure tools and is conceptually related to AWS CDK and CDK for Terraform, while competing or coexisting with Helm, Kustomize, and handwritten Kubernetes YAML.

### 来源

- <https://api.github.com/repos/cdk8s-team/cdk8s-cli>
- <https://github.com/cdk8s-team/cdk8s-cli>
- <https://cdk8s.io/>
- <https://cdk8s.io/docs/latest>
- <https://cdk8s.io/docs/latest/get-started>
- <https://formulae.brew.sh/api/formula/cdk8s.json>


## 安全说明

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



## 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: ./cdk8s.yaml

## Combined YAML source

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


## 来源

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