# 使用 Homebrew, Nix, scoop 安装 kubent

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

## 安装

```sh
sudo av install brew:kubent
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install kubent
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#kubent
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/kubent
```

  证据: Scoop official bucket manifest trees: bucket/kubent.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:kubent
- **软件包管理器:** Homebrew
- **版本:** 0.7.3
- **来源摘要:** Easily check your clusters for use of deprecated APIs
- **主页:** <https://github.com/doitintl/kube-no-trouble>
- **仓库:** <https://github.com/doitintl/kube-no-trouble>
- **最后更新:** 2026-07-27T21:58:46+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- kubent (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

kubent is the Homebrew-packaged command name for Kube No Trouble, a Go CLI created to find Kubernetes objects that still use API versions scheduled for removal. It sits in the upgrade-preparation niche: operators run it before a cluster version jump so they can fix manifests, Helm releases, or last-applied kubectl state before the Kubernetes API server stops serving old versions.

### 项目历史

The project appeared publicly as Kube No Trouble in April 2020 with release 0.1.0. Its README ties the original motivation to the Kubernetes 1.16 wave of API deprecations, and its early releases quickly added static-file scanning and collector fixes so it could work outside a live cluster as well as against kubectl and Helm-maintained resources.

### 采用历史

kubent became a familiar checklist tool for Kubernetes platform teams because deprecated APIs are easy to miss in stored manifests and Helm release data. Homebrew, Scoop, Nix, and container-image distribution made it convenient to drop into upgrade runbooks and CI jobs without building from source.

### 使用方式

Typical use points kubent at the active kubeconfig or an explicit kubeconfig path, then asks it to collect live resources, Helm manifests, or local YAML/JSON files and report API versions that match its deprecation rules. The project also documents JSON and CI-friendly output modes for automated gates.

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

For package-maintainer culture, kubent is a compact example of the Kubernetes ecosystem producing tiny CLIs around version-skew pain. It matters less as a framework than as a practical binary that turns upstream API-removal policy into a package-manager-installable preflight check.

### 时间线

- 2020-04-09: Kube No Trouble 0.1.0 was published as the initial public release of kubent.
- 2020-08-11: Release 0.3.0 added support for reading manifests from local files and stdin.
- 2024-08-30: Release 0.7.3 was listed by the repository as a later tagged release.

### Related projects

- kubent is closely tied to kubectl, Helm, kubeconfig files, Open Policy Agent rules, and the Kubernetes deprecated API migration guidance.

### 来源

- <https://github.com/doitintl/kube-no-trouble>
- <https://github.com/doitintl/kube-no-trouble/releases/tag/0.1.0>
- <https://github.com/doitintl/kube-no-trouble/releases/tag/0.3.0>
- <https://kubernetes.io/docs/reference/using-api/deprecation-guide/>


## 安全说明

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: ~/.kube/config
## 其他软件包管理器记录

- Nix - kubent: normalized package name match | nixpkgs package indexes: pkgs/by-name/ku/kubent/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/kubent: normalized package name match | Scoop official bucket manifest trees: bucket/kubent.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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