# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/kwok>
- **版本:** 0.8.0
- **来源摘要:** Kubernetes WithOut Kubelet - Simulates thousands of Nodes and Clusters
- **主页:** <https://kwok.sigs.k8s.io>
- **仓库:** <https://github.com/kubernetes-sigs/kwok>
- **上游文档:** <https://kwok.sigs.k8s.io>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/kubernetes-sigs/kwok/archive/refs/tags/v0.8.0.tar.gz>
- **最后更新:** 2026-06-23T10:35:17Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

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

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.8.0
- 管理器更新时间: 2026-06-23
- 本地数据: OK
- 上游仓库: https://github.com/kubernetes-sigs/kwok
- 检测到的最新版本: v0.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

## 源数据库详情

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


## 相关链接

- [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.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [eksctl](https://pkg.so/zh-hans/brew/eksctl/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, clusters, kubernetes.
- [kubernetes-cli](https://pkg.so/zh-hans/brew/kubernetes-cli/) - 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.
- [k3d](https://pkg.so/zh-hans/brew/k3d/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes.
- [ctlptl](https://pkg.so/zh-hans/brew/ctlptl/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes.
- [openshift-cli](https://pkg.so/zh-hans/brew/openshift-cli/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes.
- [skaffold](https://pkg.so/zh-hans/brew/skaffold/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes.
- [cmctl](https://pkg.so/zh-hans/brew/cmctl/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, kubernetes.
- [chaoskube](https://pkg.so/zh-hans/brew/chaoskube/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, infrastructure, kubernetes.

## 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
- 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
