# 使用 Homebrew, apk, dnf, Nix, zypper, pacman 安装 cri-tools

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

## 安装

```sh
sudo av install brew:cri-tools
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cri-tools
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add cri-tools
```

  证据: Alpine Linux edge package indexes: cri-tools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install cri-tools
```

  证据: Fedora Rawhide package metadata: cri-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#cri-tools
```

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

- zypper (92%):

```sh
sudo zypper install cri-tools
```

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

- pacman (92%):

```sh
sudo pacman -S crictl
```

  证据: Arch Linux sync databases: crictl from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:cri-tools
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/cri-tools>
- **版本:** 1.36.0
- **来源摘要:** CLI and validation tools for Kubelet Container Runtime Interface (CRI)
- **主页:** <https://github.com/kubernetes-sigs/cri-tools>
- **仓库:** <https://github.com/kubernetes-sigs/cri-tools>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/kubernetes-sigs/cri-tools/archive/refs/tags/v1.36.0.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- crictl (cli)
- critest (cli)
- crictl (别名)
- critest (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.36.0
- 本地数据: OK
- 上游仓库: https://github.com/kubernetes-sigs/cri-tools
- 检测到的最新版本: v1.36.0 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

cri-tools is the Kubernetes SIG Node companion project for Container Runtime Interface debugging and conformance tooling. It packages crictl for direct CRI interaction and critest for validation tests, making it useful to runtime implementers, cluster operators, and distribution maintainers who need a tool outside the kubelet itself.

### 项目历史

The project grew around Kubernetes' Container Runtime Interface, the gRPC plugin interface that lets kubelet work with different container runtimes without recompiling cluster components. Its README describes the scope narrowly: debugging and validation tools for kubelet CRI, not a user-facing container runtime or a replacement orchestration layer.

The compatibility matrix ties cri-tools minor versions to Kubernetes minor versions, with v0.1 aligned to Kubernetes 1.7 and later 1.x releases tracking Kubernetes release branches. That version coupling is central to how distributions package it, because CRI features can diverge between Kubernetes and cri-tools minor versions.

### 采用历史

crictl and critest became general-availability tools in the v1.11 era according to their official docs. The project is maintained under kubernetes-sigs and points users to Kubernetes SIG Node community channels, which made it part of the normal Kubernetes runtime-development workflow rather than a third-party diagnostic utility.

### 使用方式

crictl is used to inspect, pull, run, stop, and debug containers and pod sandboxes through CRI-compatible runtimes such as containerd, CRI-O, and cri-dockerd. critest is used to verify that a runtime's CRI server implementation conforms to Kubernetes expectations without running full Kubernetes end-to-end tests.

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

For package maintainers, cri-tools matters because it is version-skew sensitive: the official README recommends matching the cri-tools and Kubernetes minor versions. It is also a canonical example of a Kubernetes-adjacent package where the CLI binary is operationally useful but its version policy follows a larger platform's release cadence.

### 时间线

- 2017: v0.1 release published for the Kubernetes 1.7 compatibility line.
- 2018: crictl and CRI validation testing documented as GA since v1.11.0.
- 2020s: Project continues to follow Kubernetes minor release lines and ships crictl and critest archives from GitHub releases.

### Related projects

- Kubernetes kubelet and cri-api define the runtime interface that cri-tools exercises.
- containerd, CRI-O, and cri-dockerd are common CRI-compatible runtimes used with crictl.

### 来源

- <https://github.com/kubernetes-sigs/cri-tools#readme>
- <https://github.com/kubernetes-sigs/cri-tools/blob/master/docs/crictl.md>
- <https://github.com/kubernetes-sigs/cri-tools/blob/master/docs/validation.md>
- <https://kubernetes.io/docs/concepts/containers/cri/>
- <https://github.com/kubernetes-sigs/cri-tools/releases/tag/v0.1>


## 安全说明

generalized runtime or code generation signal. infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- generalized runtime or code generation signal
- 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: /etc/crictl.yaml
- Windows: %USERPROFILE%\.crictl\crictl.yaml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cri-tools
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Nix - cri-tools: normalized package name match | nixpkgs package indexes: pkgs/by-name/cr/cri-tools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - cri-tools - 1.36.0-r2: normalized package name match | Alpine Linux edge package indexes: cri-tools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CLI tool for Kubelet Container Runtime Interface (CRI) | https://github.com/kubernetes-sigs/cri-tools
- dnf - cri-tools - 1.29.0-13.fc44: normalized package name match | Fedora Rawhide package metadata: cri-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | CLI and validation tools for Container Runtime Interface | https://github.com/kubernetes-sigs/cri-tools
- dnf - cri-tools1.33 - 1.33.0-11.fc45: normalized package name match | Fedora Rawhide package metadata: cri-tools1.33 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | CLI and validation tools for Kubelet Container Runtime Interface (CRI) | https://github.com/kubernetes-sigs/cri-tools
- dnf - cri-tools1.34 - 1.34.0-6.fc45: normalized package name match | Fedora Rawhide package metadata: cri-tools1.34 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | CLI and validation tools for Kubelet Container Runtime Interface (CRI) | https://github.com/kubernetes-sigs/cri-tools
- dnf - cri-tools1.35 - 1.35.0-5.fc45: normalized package name match | Fedora Rawhide package metadata: cri-tools1.35 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | CLI and validation tools for Kubelet Container Runtime Interface (CRI) | https://github.com/kubernetes-sigs/cri-tools
- dnf - cri-tools1.36 - 1.36.0-4.fc45: normalized package name match | Fedora Rawhide package metadata: cri-tools1.36 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | CLI and validation tools for Kubelet Container Runtime Interface (CRI) | https://github.com/kubernetes-sigs/cri-tools
- zypper - cri-tools - 1.36.0-1.4: normalized package name match | openSUSE Tumbleweed package metadata: cri-tools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | CLI and validation tools for Kubelet Container Runtime Interface | https://github.com/kubernetes-sigs/cri-tools
- pacman - crictl - 1.36.0-1: installed executable or alias match | Arch Linux sync databases: crictl from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A CLI for CRI-compatible container runtimes | https://github.com/kubernetes-sigs/cri-tools
- pacman - critest - 1.36.0-1: installed executable or alias match | Arch Linux sync databases: critest from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A benchmarking CLI for CRI-compatible container runtimes | https://github.com/kubernetes-sigs/cri-tools


## 相关链接

- [Cloud CLI packages](https://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [minikube](https://pkg.so/zh-hans/brew/minikube/) - Shares pkgdb curated category or tags: cli, containers, developer-tools, kubernetes.
- [kompose](https://pkg.so/zh-hans/brew/kompose/) - Shares pkgdb curated category or tags: cli, containers, developer-tools, kubernetes.
- [cdebug](https://pkg.so/zh-hans/brew/cdebug/) - Shares pkgdb curated category or tags: cli, containers, developer-tools, kubernetes.
- [docker](https://pkg.so/zh-hans/brew/docker/) - Shares pkgdb curated category or tags: cli, containers, developer-tools.
- [docker-compose](https://pkg.so/zh-hans/brew/docker-compose/) - Shares pkgdb curated category or tags: cli, containers, developer-tools.
- [kubeconform](https://pkg.so/zh-hans/brew/kubeconform/) - Shares pkgdb curated category or tags: cli, developer-tools, kubernetes.
- [docker-buildx](https://pkg.so/zh-hans/brew/docker-buildx/) - Shares pkgdb curated category or tags: cli, containers, developer-tools.
- [kind](https://pkg.so/zh-hans/brew/kind/) - Shares pkgdb curated category or tags: cli, developer-tools, kubernetes.
- [docker-debug](https://pkg.so/zh-hans/brew/docker-debug/) - Local package facts share a topical domain. Shared terms: cli, container, containers, developer, developer-tools.
- [docker-gen](https://pkg.so/zh-hans/brew/docker-gen/) - Local package facts share a topical domain. Shared terms: cli, container, containers, developer, developer-tools.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
