# 使用 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/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## 软件包事实

- **软件包键:** brew:kubectl-klock
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/kubectl-klock>
- **版本:** 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>
- **上游文档:** <https://github.com/applejag/kubectl-klock#readme>
- **许可证:** GPL-3.0-or-later AND CC0-1.0
- **源码归档:** <https://github.com/applejag/kubectl-klock/archive/refs/tags/v0.9.1.tar.gz>
- **最后更新:** 2026-07-02T12:20:44Z
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

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

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-25
- 管理器版本: 0.9.1
- 管理器更新时间: 2026-07-02
- 本地数据: OK
- 上游仓库: https://github.com/applejag/kubectl-klock
- 检测到的最新版本: v0.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。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** kubectl-klock
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- 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.1: normalized package name match | openSUSE Tumbleweed package metadata: kubectl-klock from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-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.1: normalized package name match | openSUSE Tumbleweed package metadata: kubectl-klock-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Bash Completion for kubectl-klock | https://github.com/applejag/kubectl-klock
- zypper - kubectl-klock-fish-completion - 0.9.1-1.1: normalized package name match | openSUSE Tumbleweed package metadata: kubectl-klock-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Fish Completion for kubectl-klock | https://github.com/applejag/kubectl-klock
- zypper - kubectl-klock-zsh-completion - 0.9.1-1.1: normalized package name match | openSUSE Tumbleweed package metadata: kubectl-klock-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Zsh Completion for kubectl-klock | https://github.com/applejag/kubectl-klock


## 相关链接

- [Cloud CLI packages](https://www.automicvault.com/zh-hans/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [chaoskube](https://www.automicvault.com/zh-hans/pkg/brew/chaoskube/) - Shares av.db curated category or tags: cli, cloud-infrastructure, go, kubernetes.
- [ko](https://www.automicvault.com/zh-hans/pkg/brew/ko/) - Shares av.db curated category or tags: cli, cloud-infrastructure, go, kubernetes.
- [ktop](https://www.automicvault.com/zh-hans/pkg/brew/ktop/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubectl-plugin, kubernetes.
- [kty](https://www.automicvault.com/zh-hans/pkg/brew/kty/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubernetes, terminal.
- [kubesess](https://www.automicvault.com/zh-hans/pkg/brew/kubesess/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubectl-plugin, kubernetes.
- [click](https://www.automicvault.com/zh-hans/pkg/brew/click/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubernetes.
- [clusterawsadm](https://www.automicvault.com/zh-hans/pkg/brew/clusterawsadm/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubernetes.
- [clusterctl](https://www.automicvault.com/zh-hans/pkg/brew/clusterctl/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubernetes.
- [kubebox](https://www.automicvault.com/zh-hans/pkg/npm/kubebox/) - 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/kubectl-klock.yml](https://github.com/automic-vault/db/blob/main/combined/kubectl-klock.yml)


## 来源

- Nucleus package database
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
