# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/testkube>
- **版本:** 2.12.0
- **来源摘要:** Kubernetes-native framework for test definition and execution
- **主页:** <https://testkube.io>
- **仓库:** <https://github.com/kubeshop/testkube>
- **上游文档:** <https://testkube.io>
- **许可证:** MIT
- **源码归档:** <https://github.com/kubeshop/testkube/archive/refs/tags/2.12.0.tar.gz>
- **最后更新:** 2026-07-26T00:50:37+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

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

## 依赖

- helm
- kubernetes-cli

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.12.0
- 管理器更新时间: 2026-07-26
- 本地数据: OK
- 上游仓库: https://github.com/kubeshop/testkube
- 检测到的最新版本: 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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** testkube
- **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 - 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


## 相关链接

- [Cloud CLI packages](https://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure 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.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [kubernetes-cli](https://pkg.so/zh-hans/brew/kubernetes-cli/) - Runtime dependency declared by Homebrew.
- [helm](https://pkg.so/zh-hans/brew/helm/) - Runtime dependency declared by Homebrew.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [argo](https://pkg.so/zh-hans/brew/argo/) - Shares pkgdb curated category or tags: ci-cd, cli, cloud-infrastructure, kubernetes.
- [kwok](https://pkg.so/zh-hans/brew/kwok/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes, testing.
- [container-canary](https://pkg.so/zh-hans/brew/container-canary/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes, testing.
- [colima](https://pkg.so/zh-hans/brew/colima/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes.
- [k9s](https://pkg.so/zh-hans/brew/k9s/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes.
- [kustomize](https://pkg.so/zh-hans/brew/kustomize/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes.
- [devspace](https://pkg.so/zh-hans/brew/devspace/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, infrastructure, kubernetes.
- [helmsman](https://pkg.so/zh-hans/brew/helmsman/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, helm, infrastructure.
- [vcluster](https://pkg.so/zh-hans/brew/vcluster/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, helm, infrastructure.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
