# 使用 Homebrew, Nix, winget 安装 kwok

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

## 安装

```sh
sudo av install brew:kwok
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install kwok
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#kwok
```

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

### Windows

- winget (92%):

```sh
winget install --id Kubernetes.kwok -e
```

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

## 软件包事实

- **软件包键:** brew:kwok
- **软件包管理器:** Homebrew
- **版本:** 0.8.0
- **来源摘要:** Kubernetes WithOut Kubelet - Simulates thousands of Nodes and Clusters
- **主页:** <https://kwok.sigs.k8s.io>
- **仓库:** <https://github.com/kubernetes-sigs/kwok>
- **最后更新:** 2026-06-23T10:35:17Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- kwok (别名)
- kwokctl (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

KWOK, short for Kubernetes WithOut Kubelet, is a Kubernetes SIG project for simulating nodes, pods, and cluster behavior without running kubelets on real machines. The package ships the kwok simulator and kwokctl cluster-management CLI.

### 项目历史

KWOK was introduced publicly on the Kubernetes blog on 2023-03-01 by contributors from DaoCloud and Apple. The announcement framed it as a toolkit for creating clusters with thousands of simulated nodes in seconds, aimed at controller development, scale testing, and Kubernetes learning without large infrastructure bills.

The project lives under kubernetes-sigs, which makes it part of the Kubernetes community's SIG-governed tooling rather than a vendor-only simulator. Its release process uses Kubernetes-style release issues, staging images, GitHub releases, and registry.k8s.io promotion.

### 采用历史

KWOK's adoption is strongest in test and simulation workflows. The official site emphasizes compatibility with Kubernetes API clients such as kubectl and Helm, and the docs show fake nodes and pods represented as ordinary API objects that kwok keeps in plausible states.

### 使用方式

Users install kwok to maintain fake node and pod status, and kwokctl to create or delete local simulated clusters. Package-manager users care about having both binaries available for fast CI jobs, controller load tests, scheduler experiments, and demos that need Kubernetes API behavior without worker-node cost.

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

KWOK is interesting because it packages a fake kubelet world as normal CLI tooling. It turns what used to require heavyweight test clusters or bespoke mocks into a reproducible binary install, making it a neat inhabitant of the Kubernetes testing toolbox.

### 时间线

- 2022-09-27: The v0.0.1 release issue was opened in the kubernetes-sigs/kwok repository.
- 2023-03-01: The Kubernetes blog published the public KWOK introduction.
- 2023-08-15: The node and pod management guide was updated with examples for keeping fake nodes ready and running fake pods.

### Related projects

- KWOK relates to Kubernetes, kubelet, kubemark, controller testing, scheduler testing, kubectl, Helm, and registry.k8s.io image promotion workflows.

### 来源

- <https://github.com/kubernetes-sigs/kwok>
- <https://github.com/kubernetes-sigs/kwok/issues/29>
- <https://kubernetes.io/blog/2023/03/01/introducing-kwok/>
- <https://kwok.sigs.k8s.io/>
- <https://kwok.sigs.k8s.io/docs/user/kwok-manage-nodes-and-pods/>


## 安全说明

infrastructure mutation or orchestration signal.

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

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

- Nix - kwok: normalized package name match | nixpkgs package indexes: pkgs/by-name/kw/kwok/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- winget - Kubernetes.kwok: normalized package name match | Windows Package Manager source index: Kubernetes.kwok from https://cdn.winget.microsoft.com/cache/source.msix
- winget - Kubernetes.kwokctl: installed executable or alias match | Windows Package Manager source index: Kubernetes.kwokctl from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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