# Install k9s

Kubernetes CLI To Manage Your Clusters In Style! Version 0.51.0 via Homebrew; verified 2026-06-06.

## Install

```sh
sudo av install brew:k9s
```

## Agent safety answer

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

- **Credential access:** Reads kubeconfig, cluster tokens, and pod/secret views allowed by the current context.
- **Remote mutation:** Can delete, edit, scale, and exec into Kubernetes resources.
- **Publish/artifact risk:** Can change live workloads and configuration.
- **Recommended control:** Gate launch in privileged contexts and commands that mutate resources.
- **Agent-use guidance:** Use read-only contexts for agents; require approval before interactive cluster mutation.

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install k9s
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install k9s
```

  Evidence: MacPorts ports tree: sysutils/k9s/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add k9s
```

  Evidence: Alpine Linux edge package indexes: k9s from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install k9s
```

  Evidence: Fedora Rawhide package metadata: k9s from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#k9s
```

  Evidence: nixpkgs package indexes: pkgs/by-name/k9/k9s/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S k9s
```

  Evidence: Arch Linux sync databases: k9s from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install k9s
```

  Evidence: openSUSE Tumbleweed package metadata: k9s from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install k9s
```

  Evidence: Chocolatey community package catalog: k9s from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','jetbrains-rider'

- Scoop (92%):

```sh
scoop install main/k9s
```

  Evidence: Scoop official bucket manifest trees: bucket/k9s.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Derailed.k9s -e
```

  Evidence: Windows Package Manager source index: Derailed.k9s from https://cdn.winget.microsoft.com/cache/source.msix

## Package Facts

- **Package key:** brew:k9s
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/k9s>
- **Version:** 0.51.0
- **Source summary:** Kubernetes CLI To Manage Your Clusters In Style!
- **Homepage:** <https://k9scli.io/>
- **Repository:** <https://github.com/derailed/k9s>
- **Upstream docs:** <https://k9scli.io/>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/derailed/k9s.git>
- **Last updated:** 2026-06-06T20:47:06Z
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- k9s (cli)
- k9s (alias)

## Build Dependencies

- go

## Install Behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 0.51.0
- Package-manager updated: 2026-06-06
- Local data status: ok
- Upstream repository: https://github.com/derailed/k9s
- info: No cached GitHub release or tag data was available.

## Sicherheitshinweise

infrastructure mutation or orchestration signal.

- **Geiger risk:** orange / medium
- infrastructure mutation or orchestration signal

## Source Database Details

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

## Other Package-Manager Records

- Nix - k9s: normalized package name match | nixpkgs package indexes: pkgs/by-name/k9/k9s/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - k9s - 0.50.18-r5: normalized package name match | Alpine Linux edge package indexes: k9s from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Kubernetes TUI | https://k9scli.io
- apk - k9s-bash-completion - 0.50.18-r5: normalized package name match | Alpine Linux edge package indexes: k9s-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for k9s | https://k9scli.io
- apk - k9s-fish-completion - 0.50.18-r5: normalized package name match | Alpine Linux edge package indexes: k9s-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for k9s | https://k9scli.io
- apk - k9s-zsh-completion - 0.50.18-r5: normalized package name match | Alpine Linux edge package indexes: k9s-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for k9s | https://k9scli.io
- dnf - k9s - 0.50.18-2.fc44: normalized package name match | Fedora Rawhide package metadata: k9s from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | Kubernetes CLI To Manage Your Clusters In Style | https://github.com/derailed/k9s
- pacman - k9s - 0.50.18-2: normalized package name match | Arch Linux sync databases: k9s from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | TUI for managing Kubernetes clusters and pods | https://github.com/derailed/k9s
- zypper - k9s - 0.50.18-1.4: normalized package name match | openSUSE Tumbleweed package metadata: k9s from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Curses based terminal UI for Kubernetes clusters | https://github.com/derailed/k9s
- MacPorts - k9s: normalized package name match | MacPorts ports tree: sysutils/k9s/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - k9s: normalized package name match | Chocolatey community package catalog: k9s from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','jetbrains-rider'
- Scoop - main/k9s: normalized package name match | Scoop official bucket manifest trees: bucket/k9s.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Derailed.k9s: normalized package name match | Windows Package Manager source index: Derailed.k9s from https://cdn.winget.microsoft.com/cache/source.msix


## Related Links

- [Cloud CLI packages](https://www.automicvault.com/de/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Secret-risk packages](https://www.automicvault.com/de/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/de/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/de/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/de/pkg/brew/go/) - Build dependency declared by Homebrew.
- [talosctl](https://www.automicvault.com/de/pkg/brew/talosctl/) - Shares av.db curated category or tags: cli, cloud-infrastructure, cluster-management, kubernetes.
- [clusterctl](https://www.automicvault.com/de/pkg/brew/clusterctl/) - Shares av.db curated category or tags: cli, cloud-infrastructure, cluster-management, kubernetes.
- [kops](https://www.automicvault.com/de/pkg/brew/kops/) - Shares av.db curated category or tags: cli, cloud-infrastructure, cluster-management, kubernetes.
- [rke](https://www.automicvault.com/de/pkg/brew/rke/) - Shares av.db curated category or tags: cli, cloud-infrastructure, cluster-management, kubernetes.
- [kubetui](https://www.automicvault.com/de/pkg/brew/kubetui/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubernetes, tui.
- [mcp-server-kubernetes](https://www.automicvault.com/de/pkg/brew/mcp-server-kubernetes/) - Shares av.db curated category or tags: cli, cloud-infrastructure, cluster-management, kubernetes.
- [kty](https://www.automicvault.com/de/pkg/brew/kty/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubernetes, tui.
- [helm](https://www.automicvault.com/de/pkg/brew/helm/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubernetes.

## Sources

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