# 使用 Homebrew, Nix 安装 testkube

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

## 安装

```sh
sudo av install brew:testkube
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install testkube
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#testkube
```

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

## 软件包事实

- **软件包键:** brew:testkube
- **软件包管理器:** Homebrew
- **版本:** 2.12.0
- **来源摘要:** Kubernetes-native framework for test definition and execution
- **主页:** <https://testkube.io>
- **仓库:** <https://github.com/kubeshop/testkube>
- **最后更新:** 2026-07-26T00:50:37+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- kubectl-testkube (别名)
- testkube (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Testkube is a Kubernetes-native testing platform and CLI for defining, running, and analyzing test executions in cloud-native environments. Official documentation describes it as a platform for tests across tools, environments, and pipelines, with a control plane and open-source agents.

### 项目历史

The kubeshop/testkube repository was created in July 2021 and the GitHub release stream shows 1.0.x releases in April and May 2022. Its README positions Testkube as a test orchestration and execution framework for cloud-native applications, built around existing testing tools, CI/CD or GitOps pipelines, and Kubernetes infrastructure.

The project later separated a commercial control plane from an open-source agent model. The official open-source documentation says the Testkube Agent can run standalone and that users can interact with it through the Testkube CLI or the Agent API.

### 采用历史

Testkube grew in the Kubernetes and CI/CD niche rather than as a general-purpose local test runner. Its docs emphasize workflows for tools such as k6, Playwright, Cypress, JMeter, and Postman, and its package metadata in this batch shows distribution through Homebrew and Nix for local CLI installation.

For package-manager users, Testkube matters because it gives a shell-installable entry point to cluster-resident test orchestration: a developer can install the CLI locally, then create, trigger, inspect, and automate tests that actually run inside Kubernetes.

### 使用方式

The common CLI pattern is to install Testkube locally, connect it to a cluster or agent, and use it to create and run test workflows, view execution logs and artifacts, and integrate tests into CI/CD, GitOps, Kubernetes events, webhooks, or CDEvents.

The open-source agent documentation describes standalone mode as managing Testkube resources as CRDs, scheduling and executing workflows, collecting logs and artifacts into PostgreSQL and S3-compatible storage, listening to Kubernetes events, and emitting webhooks.

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

Testkube is notable in package-manager catalogs because it is a developer CLI whose real target is Kubernetes operational state. It belongs with tools that package a cloud-native control surface into a local binary, much like kubectl plugins and cluster management CLIs.

Its package value is highest for teams standardizing test orchestration in clusters: Homebrew or Nix gives developers the same command-line surface without hand-building the Go project.

### 时间线

- 2021: kubeshop/testkube repository created on GitHub.
- 2022: 1.0.x releases appear in the official GitHub release stream.
- 2026: Official docs describe the current architecture as a control plane plus open-source agents, with Testkube 2.11.0 announced in the docs banner.

### Related projects

- Kubernetes CRDs, kubectl-style cluster workflows, Helm installation, k6, Playwright, Cypress, JMeter, Postman, CI/CD systems, GitOps tooling, webhooks, and CDEvents.

### 来源

- <https://docs.testkube.io/>
- <https://docs.testkube.io/articles/open-source>
- <https://github.com/kubeshop/testkube README and GitHub repository metadata>
- input.source_facts.package-manager


## 安全说明

infrastructure mutation or orchestration signal.

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

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

- Nix - testkube: normalized package name match | nixpkgs package indexes: pkgs/by-name/te/testkube/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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