# 使用 Homebrew 安装 naml

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

## 安装

```sh
sudo av install brew:naml
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install naml
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:naml
- **软件包管理器:** Homebrew
- **版本:** 1.0.3
- **来源摘要:** Convert Kubernetes YAML to Golang
- **主页:** <https://github.com/krisnova/naml>
- **仓库:** <https://github.com/krisnova/naml>
- **最后更新:** 2026-07-26T19:43:13+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- naml (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

naml, short for Not Another Markup Language, is Kris Nova's Go tool for converting Kubernetes YAML into Go code and treating Kubernetes applications as compiled Go programs.

### 项目历史

The repository was created on 2021-06-12. The README frames naml as both a Go library and a CLI for developing and deploying Kubernetes applications, replacing YAML with raw Go so users can rely on Go syntax highlighting, cross-compiling, code generation, documentation, tests, and the Kubernetes client libraries.

The project moved quickly toward a 1.0 release in 2021. GitHub releases show v0.3.0 as the YAML release on 2021-08-20, v0.4.0 as a deployable release candidate on 2021-11-20, v1.0.0 on 2021-11-21, and v1.0.3 on 2021-11-24.

### 采用历史

naml had attention in the Kubernetes developer niche but not broad package-manager usage. Repository metadata consulted on 2026-07-01 showed 1,261 GitHub stars and 36 forks, while Homebrew listed 74 installs over the prior 365 days.

Its significance is tied to a recurring Kubernetes argument: whether YAML should be generated, templated, or replaced by typed code. naml chose the typed-code side, using existing Kubernetes Go APIs rather than inventing another runtime templating system.

### 使用方式

The README's main workflow is `cat deploy.yaml | naml codify > main.go`, then `naml build -o app`, then running the generated application to emit YAML, install, or uninstall resources. It can also convert all objects in a namespace from `kubectl get all -n default -o yaml`.

Package nerds use naml as a translator and experiment harness: take existing manifests, turn them into formatted Go that implements a Deployable interface, inspect the generated Kubernetes objects, and decide whether code-backed deployment makes sense for a project.

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

naml is not the default Kubernetes packaging path; Helm, Kustomize, Jsonnet, CUE, CDK8s, and Pulumi cover adjacent ground. Its value is historical and practical: it captures the 2021 wave of 'YAML fatigue' in a small Go-native tool.

### 时间线

- 2021-06-12: GitHub repository created.
- 2021-08-20: v0.3.0 YAML release published.
- 2021-11-20: v0.4.0 deployable release candidate published.
- 2021-11-21: v1.0.0 first major stable release published.
- 2021-11-24: v1.0.3 published.
- 2026-07-01: Homebrew Formulae page listed 74 installs over the prior 365 days.

### Related projects

- Kubernetes client-go
- kind
- Helm
- Kustomize
- Jsonnet
- CUE
- cdk8s
- Pulumi

### 来源

- <https://api.github.com/repos/krisnova/naml>
- <https://api.github.com/repos/krisnova/naml/releases?per_page=10>
- <https://formulae.brew.sh/formula/naml>
- <https://github.com/krisnova/naml>


## 安全说明

infrastructure mutation or orchestration signal.

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


## Combined YAML source

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


## 来源

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