# 使用 Homebrew, Nix, zypper, winget 安装 kyverno

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

## 安装

```sh
sudo av install brew:kyverno
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install kyverno
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#kyverno
```

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

- zypper (92%):

```sh
sudo zypper install kyverno
```

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

### Windows

- winget (92%):

```sh
winget install --id kyverno.kyverno -e
```

  证据: Windows Package Manager source index: kyverno.kyverno from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:kyverno
- **软件包管理器:** Homebrew
- **版本:** 1.18.2
- **来源摘要:** Kubernetes Native Policy Management
- **主页:** <https://kyverno.io/>
- **仓库:** <https://github.com/kyverno/kyverno>
- **最后更新:** 2026-07-28T01:44:24+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- kyverno (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Kyverno is a Kubernetes-native policy engine for validation, mutation, generation, cleanup, image verification, and policy reporting. Its defining choice is to express policy as Kubernetes resources, letting teams use YAML, kubectl, GitOps, and admission-controller workflows instead of learning a separate policy language.

It became one of the central tools in the Kubernetes policy-management ecosystem, especially for platform and security teams that want policy-as-code aligned with Kubernetes resource models.

### 项目历史

Nirmata introduced Kyverno in 2019 as an open source Kubernetes-native policy-management project. The project was built for Kubernetes governance and security use cases such as validating resources, mutating defaults, generating supporting resources, and reporting violations.

Kyverno entered CNCF as a sandbox project on November 10, 2020, moved to incubation on July 13, 2022, and graduated on March 16, 2026. CNCF project data lists February 4, 2019 as the first commit, matching the project's 2019 origin story.

### 采用历史

Kyverno adoption grew with Kubernetes platform engineering and DevSecOps practices. Its policy library, Helm charts, CLI, reports, and admission-controller model made it usable both in clusters and in pre-admission workflows such as CI checks.

CNCF project data in 2026 showed thousands of contributors and over a thousand contributing organizations, along with public case studies. That governance path and visible contributor base made Kyverno a mainstream cloud-native policy project rather than a vendor-only utility.

### 使用方式

Operators install Kyverno into Kubernetes clusters to validate, mutate, generate, or clean up resources through admission controls and background scans. Policies are stored as Kubernetes custom resources and can be managed with kubectl, kustomize, Helm, and Git workflows.

The `kyverno` CLI is used for testing and applying policies outside the cluster, which made the Homebrew package useful to developers building policy libraries or checking manifests before deployment.

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

Kyverno is significant to package and CLI catalogues because it bridges a cluster controller and a local developer tool. Installing the CLI gives package-manager users access to the same policy language that governs production clusters.

Its companion projects broadened the package surface around the core engine, including Chainsaw for end-to-end tests, Kyverno JSON for non-Kubernetes JSON payloads, Policy Reporter, and the Kyverno Envoy plugin.

### 时间线

- 2019: Nirmata introduced Kyverno as Kubernetes-native policy management.
- 2020: CNCF accepted Kyverno as a sandbox project on November 10.
- 2022: Kyverno moved to CNCF incubation on July 13.
- 2023: Kyverno published third-party security audit work as part of project hardening.
- 2026: Kyverno graduated in CNCF on March 16.
- 2026: Kyverno 1.18 was announced on April 24 as the first release after CNCF graduation.

### Related projects

- OPA Gatekeeper is the most common comparison point for Kubernetes admission policy, with a different policy-language and ecosystem model.
- Chainsaw, Kyverno JSON, Policy Reporter, and the Kyverno Envoy plugin are companion projects named by the Kyverno project as separate tools around the core engine.
- Sigstore, Cosign, Helm, Kustomize, and Kubernetes ValidatingAdmissionPolicy features are adjacent technologies in Kyverno's supply-chain and policy workflows.

### 来源

- <https://github.com/kyverno/kyverno>
- <https://kyverno.io/blog/2026/04/24/announcing-kyverno-release-1.18/>
- <https://kyverno.io/docs>
- <https://nirmata.com/2019/06/03/introducing-kyverno-kubernetes-native-policy-management/>
- <https://raw.githubusercontent.com/kyverno/kyverno/main/README.md>
- <https://www.cncf.io/projects/kyverno/>


## 安全说明

infrastructure mutation or orchestration signal.

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

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

- Nix - kyverno: normalized package name match | nixpkgs package indexes: pkgs/by-name/ky/kyverno/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - kyverno - 1.18.2-1.2: normalized package name match | openSUSE Tumbleweed package metadata: kyverno from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | CLI and kubectl plugin for Kyverno | https://github.com/kyverno/kyverno
- zypper - kyverno-bash-completion - 1.18.2-1.2: normalized package name match | openSUSE Tumbleweed package metadata: kyverno-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for kyverno | https://github.com/kyverno/kyverno
- zypper - kyverno-fish-completion - 1.18.2-1.2: normalized package name match | openSUSE Tumbleweed package metadata: kyverno-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for kyverno | https://github.com/kyverno/kyverno
- zypper - kyverno-zsh-completion - 1.18.2-1.2: normalized package name match | openSUSE Tumbleweed package metadata: kyverno-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh Completion for kyverno | https://github.com/kyverno/kyverno
- winget - kyverno.kyverno: normalized package name match | Windows Package Manager source index: kyverno.kyverno from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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