Automic VaultAutomic Vault

brew

使用 Homebrew, apk, chocolatey, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 k9s

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

代理安全

代理安全回答

k9s is an interactive Kubernetes UI with cluster read and mutation capability.

凭据访问

Reads kubeconfig, cluster tokens, and pod/secret views allowed by the current context.

远程变更

Can delete, edit, scale, and exec into Kubernetes resources.

发布/制品风险

Can change live workloads and configuration.

推荐控制

Gate launch in privileged contexts and commands that mutate resources.

代理使用指南

Use read-only contexts for agents; require approval before interactive cluster mutation.

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install k9s

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install k9s

MacPorts ports tree · sysutils/k9s/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add k9s

Alpine Linux edge package indexes · k9s · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install k9s

Fedora Rawhide package metadata · k9s · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#k9s

nixpkgs package indexes · pkgs/by-name/k9/k9s/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S k9s

Arch Linux sync databases · k9s · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install k9s

openSUSE Tumbleweed package metadata · k9s · 来源: download.opensuse.org

Windows

Chocolatey已验证 · 92%
choco install k9s

Chocolatey community package catalog · k9s · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/k9s

Scoop official bucket manifest trees · bucket/k9s.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id Derailed.k9s -e

Windows Package Manager source index · Derailed.k9s · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Kubernetes CLI To Manage Your Clusters In Style!

命令和别名

  • k9s

历史

项目历史与用法

K9s is a terminal user interface for Kubernetes that turns cluster navigation, inspection, and common operations into a keyboard-driven local app. It became one of the recognizable post-kubectl tools for operators who wanted a faster view of resources without moving into a full graphical dashboard.

项目历史

The derailed/k9s repository was created in January 2019. The project describes K9s as a Kubernetes CLI for managing clusters in style and says it provides a terminal UI that continually watches Kubernetes resources for changes.

K9s evolved around the idea that many Kubernetes workflows are repetitive inspection loops: list pods, jump to logs, describe resources, edit manifests, switch namespaces, and watch status. Its documentation grew into topics for installation, configuration, skins, plugins, benchmarks, and operational commands.

采用历史

K9s spread through the normal cross-platform CLI packaging routes. Its official install documentation lists Homebrew and MacPorts on macOS, Linuxbrew and Pacman on Linux, and Scoop or Chocolatey on Windows, which made it easy to add to existing Kubernetes workstations.

The project reached a scale visible in repository metadata: tens of thousands of GitHub stars and thousands of forks by July 2026. That level of attention is unusual for a single-purpose terminal UI and reflects the centrality of Kubernetes day-to-day operations.

使用方式

K9s is used as an interactive cluster console. Operators open it against a kubeconfig context, watch resource tables update, drill into pods and workloads, tail logs, and trigger common commands without repeatedly composing kubectl invocations.

It complements rather than replaces kubectl: kubectl remains the scriptable primitive, while K9s is the fast human interface for scanning, debugging, and moving around clusters.

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

K9s is package-nerd catnip because it packages a large Kubernetes workflow into one local binary with a memorable name, broad package-manager coverage, and obvious daily utility. It is also a marker of the TUI renaissance in infrastructure tooling, alongside projects that use terminal layouts as serious operational interfaces.

Its configuration paths differ across Linux, macOS, and Windows, which makes it a useful example for package databases that track real application state rather than only executable names.

时间线

  • 2019-01: Public GitHub repository created.
  • 2021: The release stream had reached the v0.24 and v0.25 series.
  • 2026-07-01: Repository metadata showed more than 34,000 stars and more than 2,200 forks.

Related projects

  • K9s sits beside kubectl, kubectx, kubens, Stern, Lens, OpenLens, Helm, and K8sGPT in the Kubernetes operator toolbox. Its closest conceptual relatives are terminal dashboards and resource browsers rather than deployment or package managers.

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:kubernetes,cluster

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Linux
$XDG_CONFIG_HOME/k9s/config.yaml~/.config/k9s/config.yaml
macOS
~/Library/Application Support/k9s/config.yaml
Windows
%LOCALAPPDATA%\k9s\config.yaml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
k9scli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.51.0
管理器更新时间2026-06-06
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/derailed/k9s

安装元数据

软件包元数据

软件包键brew:k9s
版本0.51.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/k9s
主页https://k9scli.io/
仓库https://github.com/derailed/k9s
上游文档https://k9scli.io/
许可证Apache-2.0
源码归档https://github.com/derailed/k9s.git
最后更新2026-06-06T20:47:06Z
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namek9s
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

k9s

nix profile install nixpkgs#k9s
  • normalized package name match
  • 匹配方式:K9s
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/k9/k9s/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

k9s 0.50.18-r5

Kubernetes TUI

https://k9scli.io

sudo apk add k9s
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: k9s
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:K9s
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: k9s from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

k9s-bash-completion 0.50.18-r5

Bash completions for k9s

https://k9scli.io

sudo apk add k9s-bash-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: k9s
  • normalized package name match
  • 匹配方式:K9s
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: k9s-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

k9s-fish-completion 0.50.18-r5

Fish completions for k9s

https://k9scli.io

sudo apk add k9s-fish-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: k9s
  • normalized package name match
  • 匹配方式:K9s
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: k9s-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

k9s-zsh-completion 0.50.18-r5

Zsh completions for k9s

https://k9scli.io

sudo apk add k9s-zsh-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: k9s
  • normalized package name match
  • 匹配方式:K9s
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: k9s-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

k9s 0.51.0-1.fc45

Kubernetes CLI To Manage Your Clusters In Style

https://github.com/derailed/k9s

sudo dnf install k9s
  • License: 0BSD AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND LicenseRef-Fedora-Public-Domain AND MIT AND MPL-2.0 AND Unlicense AND (Apache-2.0 OR
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: k9s
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:K9s
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: k9s from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

k9s 0.50.18-2

TUI for managing Kubernetes clusters and pods

https://github.com/derailed/k9s

sudo pacman -S k9s
  • License: Apache-2.0
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:K9s
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: k9s from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

k9s 0.51.0-1.1

Curses based terminal UI for Kubernetes clusters

https://github.com/derailed/k9s

sudo zypper install k9s
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: k9s
  • 1 提供
  • normalized package name match
  • 匹配方式:K9s
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: k9s from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

k9s

sudo port install k9s
  • normalized package name match
  • 匹配方式:K9s
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/k9s/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

k9s

choco install k9s
  • normalized package name match
  • 匹配方式:K9s
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: k9s from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','jetbrains-rider'
Scoop95%

main/k9s

scoop install main/k9s
  • normalized package name match
  • 匹配方式:K9s
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/k9s.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

Derailed.k9s

winget install --id Derailed.k9s -e
  • normalized package name match
  • 匹配方式:K9s
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Derailed.k9s from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated agent safety answer
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment