# 使用 Homebrew, MacPorts, Nix 安装 kubergrunt

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

## 安装

```sh
sudo av install brew:kubergrunt
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install kubergrunt
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install kubergrunt
```

  证据: MacPorts ports tree: sysutils/kubergrunt/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#kubergrunt
```

  证据: nixpkgs package indexes: pkgs/by-name/ku/kubergrunt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:kubergrunt
- **软件包管理器:** Homebrew
- **版本:** 0.19.0
- **来源摘要:** Collection of commands to fill in the gaps between Terraform, Helm, and Kubectl
- **主页:** <https://github.com/gruntwork-io/kubergrunt>
- **仓库:** <https://github.com/gruntwork-io/kubergrunt>
- **最后更新:** 2026-07-27T21:58:46+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- kubergrunt (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

kubergrunt is Gruntwork's standalone Go CLI for operational gaps between Terraform, Helm, and kubectl. It grew around the practical chores of running Kubernetes infrastructure as code, especially EKS authentication, Helm/Tiller-era certificate handling, and helper commands that did not fit cleanly into Terraform modules or kubectl alone.

### 项目历史

The repository describes kubergrunt as a collection of commands for managing Kubernetes clusters where Terraform, Helm, and kubectl leave small operational gaps. Early release notes show v0.1.x commands for EKS configuration and token workflows, followed by Helm deployment, TLS, grant, configure, and revoke functionality.

### 采用历史

The tool's audience has primarily been Gruntwork users and teams consuming Gruntwork's Kubernetes infrastructure modules. Its package-manager presence matters because it lets module users install the matching helper binary through Homebrew, MacPorts, or Nix rather than treating it as an internal script.

### 使用方式

Common usage is task-oriented: configure kubectl for an EKS cluster, generate authentication material, manage Helm-related TLS certificates, and run helper commands around cluster bootstrap. The README also points users to release binaries and the Gruntwork installer, reflecting its role as a companion binary to published infrastructure modules.

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

kubergrunt is a classic package-nerd artifact: a small CLI born from glue code that proved useful enough to version, release, and package. It documents a period when production Kubernetes automation often required stitching Terraform, kubectl, Helm, and cloud-provider authentication together with dedicated helper binaries.

### 时间线

- Initial v0.1.x releases: kubergrunt shipped EKS-related commands such as configure, token, and deploy.
- v0.1.5: The project added Helm deploy, undeploy, configure, and grant commands.
- v0.2.0: helm deploy began requiring an RBAC entity so the local Helm client could work immediately after deployment.
- v0.3.0: helm deploy bug fixes changed client certificate parameters and custom Helm home behavior.

### Related projects

- kubergrunt is closely related to Terraform, Terragrunt, Gruntwork Kubernetes modules, AWS EKS, Helm, kubectl, and Kubernetes Secrets used for TLS material.

### 来源

- <https://docs.gruntwork.io/discussions/knowledge-base/684/>
- <https://github.com/gruntwork-io/kubergrunt>
- <https://github.com/gruntwork-io/kubergrunt/blob/master/README.md>
- <https://github.com/gruntwork-io/kubergrunt/releases>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

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

- Nix - kubergrunt: normalized package name match | nixpkgs package indexes: pkgs/by-name/ku/kubergrunt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - kubergrunt: normalized package name match | MacPorts ports tree: sysutils/kubergrunt/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

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