# 使用 Homebrew, Nix, zypper 安装 kubectl-klock

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

## 安装

```sh
sudo av install brew:kubectl-klock
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install kubectl-klock
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#kubectl-klock
```

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

- zypper (92%):

```sh
sudo zypper install kubectl-klock
```

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

## 软件包事实

- **软件包键:** brew:kubectl-klock
- **软件包管理器:** Homebrew
- **版本:** 0.9.1
- **来源摘要:** Kubectl plugin to render watch output in a more readable fashion
- **主页:** <https://github.com/applejag/kubectl-klock>
- **仓库:** <https://github.com/applejag/kubectl-klock>
- **最后更新:** 2026-07-27T21:58:44+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- kubectl-klock (别名)
- kubectl_complete-klock (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

kubectl-klock is a Go-based kubectl plugin that presents Kubernetes watch output in a more readable, continuously updated terminal view. Its upstream README describes it as similar in spirit to running `watch kubectl get pods`, but using Kubernetes watch streaming instead of polling.

### 项目历史

The official GitHub repository was created in 2022 and its README carries 2023 project copyright notices. The project is maintained as a kubectl plugin with Cobra-based CLI plumbing and Kubernetes client-go dependencies.

### 采用历史

Upstream documents installation through Krew, Snap, Scoop, Nix, pre-built GitHub releases, and `go install`, which places it in the normal package-manager and kubectl-plugin distribution path rather than only as a one-off binary.

### 使用方式

Users run `kubectl klock <resource> [name(s)] [flags]` to watch pods, deployments, statefulsets, nodes, and other Kubernetes resources. The README documents filters, label selectors, all-namespace mode, hotkeys, environment-variable-backed flags, and an option to restart the watch when kubeconfig changes.

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

kubectl-klock is interesting to package maintainers because it is a small kubectl plugin distributed through several ecosystems at once: Krew for Kubernetes users, Go module installation for developers, and general-purpose package managers for shell users.

### 时间线

- 2022-09-01: Official GitHub repository was created.
- 2023: README copyright notices identify Kalle Fagerberg and project documentation.
- 2025-07-21: GitHub releases list v0.8.2.
- 2026-05-28: GitHub releases list v0.9.1.

### Related projects

- Related projects include kubectl, Krew, kubecolor, and kubectx, all referenced directly or indirectly by the upstream README.

### 来源

- <https://api.github.com/repos/applejag/kubectl-klock>
- <https://api.github.com/repos/applejag/kubectl-klock/releases>
- <https://github.com/applejag/kubectl-klock>
- <https://github.com/applejag/kubectl-klock#readme>


## 安全说明

没有找到 kubectl-klock 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


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

- Nix - kubectl-klock: normalized package name match | nixpkgs package indexes: pkgs/by-name/ku/kubectl-klock/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - kubectl-klock - 0.9.1-1.4: normalized package name match | openSUSE Tumbleweed package metadata: kubectl-klock from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Kubectl plugin to render watch output in a more readable fashion | https://github.com/applejag/kubectl-klock
- zypper - kubectl-klock-bash-completion - 0.9.1-1.4: normalized package name match | openSUSE Tumbleweed package metadata: kubectl-klock-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for kubectl-klock | https://github.com/applejag/kubectl-klock
- zypper - kubectl-klock-fish-completion - 0.9.1-1.4: normalized package name match | openSUSE Tumbleweed package metadata: kubectl-klock-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for kubectl-klock | https://github.com/applejag/kubectl-klock
- zypper - kubectl-klock-zsh-completion - 0.9.1-1.4: normalized package name match | openSUSE Tumbleweed package metadata: kubectl-klock-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh Completion for kubectl-klock | https://github.com/applejag/kubectl-klock


## Combined YAML source

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


## 来源

- pkg.so package database
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
