# 使用 Homebrew, Nix, zypper 安装 kor

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

## 安装

```sh
sudo av install brew:kor
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install kor
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#kor
```

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

- zypper (92%):

```sh
sudo zypper install kor
```

  证据: openSUSE Tumbleweed package metadata: kor from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:kor
- **软件包管理器:** Homebrew
- **版本:** 0.6.8
- **来源摘要:** CLI tool to discover unused Kubernetes resources
- **主页:** <https://github.com/yonahd/kor>
- **仓库:** <https://github.com/yonahd/kor>
- **最后更新:** 2026-07-27T21:58:41+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- kor (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Kor is a Kubernetes cleanup CLI focused on finding unused or orphaned resources. Its history is short but package-relevant because it packages a common cluster-hygiene job as a small Go command, Helm deployment, Docker image, and kubectl plugin.

### 项目历史

The GitHub repository was created on 2023-07-05. The README describes Kor as a Kubernetes Orphaned Resources Finder and lists Kubernetes object types such as ConfigMaps, Secrets, Services, PVCs, Ingresses, CRDs, PVs, Pods, Jobs, ReplicaSets, DaemonSets, StorageClasses, NetworkPolicies, and VolumeAttachments.

Release metadata shows early v0.1.x releases in July and August 2023, beginning with v0.1.2 on 2023-07-23. The project later added chart-oriented releases and documentation for running Kor as a cron job or deployment with Prometheus metrics.

### 采用历史

Kor's adoption signal is mostly Kubernetes-operator packaging rather than a long institutional history. The README documents Homebrew, Go install, Docker, Krew, and Helm installation paths, which made the tool available in the normal places Kubernetes users look for cleanup utilities.

GitHub repository metadata observed on 2026-07-01 reported 1,802 stars and 148 forks, enough to indicate real Kubernetes community interest despite the project's relatively recent start.

### 使用方式

Users run Kor against a cluster to list resources that appear unused, or deploy it in-cluster for scheduled scans and metrics. The README also documents labels for ignoring resources or forcing cleanup decisions, which is important because Kubernetes cleanup can be risky when ownership is unclear.

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

Kor is package-nerd interesting because it is a narrow, single-purpose Kubernetes hygiene tool that shows how operational chores become installable CLIs.

Its distribution across Homebrew, Krew, Helm, Docker, Nix, and zypper is the real story: each packaging channel maps to a different operator workflow, from laptop audit to in-cluster scheduled scan.

### 时间线

- 2023-07-05: GitHub repository created.
- 2023-07-23: v0.1.2 published in GitHub release metadata.
- 2023-08-01: v0.1.6 published in GitHub release metadata.
- 2026-07-01: GitHub repository metadata reported 1,802 stars and 148 forks.

### Related projects

- Kor belongs with kubectl plugins, kube-no-trouble, popeye, kube-score, kube-linter, and other Kubernetes audit or hygiene tools.
- KorPro is documented by the project as a cloud platform built on top of Kor for organizations that want multi-cloud management, cost analysis, and analytics.

### 来源

- <https://api.github.com/repos/yonahd/kor>
- <https://github.com/yonahd/kor>
- <https://github.com/yonahd/kor/releases>


## 安全说明

infrastructure mutation or orchestration signal.

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

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

- Nix - kor: normalized package name match | nixpkgs package indexes: pkgs/by-name/ko/kor/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - kor - 0.6.8-1.4: normalized package name match | openSUSE Tumbleweed package metadata: kor from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Tool to discover unused Kubernetes Resources | https://github.com/yonahd/kor
- zypper - kor-bash-completion - 0.6.8-1.4: normalized package name match | openSUSE Tumbleweed package metadata: kor-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for kor | https://github.com/yonahd/kor
- zypper - kor-fish-completion - 0.6.8-1.4: normalized package name match | openSUSE Tumbleweed package metadata: kor-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for kor | https://github.com/yonahd/kor
- zypper - kor-zsh-completion - 0.6.8-1.4: normalized package name match | openSUSE Tumbleweed package metadata: kor-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh Completion for kor | https://github.com/yonahd/kor


## Combined YAML source

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