K9s is a free terminal app for managing Kubernetes clusters. Instead of typing long kubectl commands, you open K9s and get a live screen of your pods, deployments and services that updates as things change. You move with the arrow keys, press a letter to see logs, open a shell in a container, describe a resource or delete it, and type a colon and a name such as :deploy to jump to another resource type.
It earns its place because finding out why something is broken in Kubernetes usually means many kubectl commands in a row, and K9s puts that information on one screen. It uses the same kubeconfig file as kubectl, so it sees the clusters and permissions you already have. It also has port forwarding, a CPU and memory view, a Pulse overview, an XRay tree of how resources connect, a built-in benchmark tool, skins and plugins.
K9s is written in Go and released under the Apache 2.0 licence, created and maintained by Fernand Galiana (derailed). It has about 35,000 stars and around 400 contributors. Version 0.51.0 came out on 6 June 2026, and work on the code continues.
- Repository: github.com/derailed/k9s
- Licence: Apache-2.0 (Apache License 2.0)
- Language: Go. Stars: 35.2K. Forks: 2,391. Last push: Dec 4, 2026.
- Scan: safe, Dec 4, 2026, commit 1c5b76a
Who it is for
Developers, DevOps engineers and platform teams who work with Kubernetes every day, and people learning Kubernetes who want to see what is running. It runs on macOS, Linux and Windows, and you need a cluster and a working kubeconfig first.
Getting started
1. macOS or Linux with Homebrew
brew install k9s2. Windows with winget (or scoop install k9s)
winget install k9s3. Start it with your current kubeconfig context
k9s4. Open a specific namespace or context
k9s -n default
k9s --context my-cluster5. Inside K9s: type ? for the keys, :pod or :deploy to switch views, l for logs, s for a shell, ctrl-c to quit
?K9s acts with your own Kubernetes permissions, so it can delete or restart anything your kubeconfig allows; start with k9s --readonly if you only want to look. It saves its settings and logs in its own config folder and installs no services. Our scan covers the source code, not the prebuilt binaries or packages.
Safety scan
We cloned derailed/k9s at commit 1c5b76a on Dec 4, 2026 and ran the checks described on the GitHub Tools page: credential patterns, decode-and-execute code, install-time scripts, committed binaries, risky CI workflows, every host the code talks to, known vulnerabilities in pinned dependencies, and project hygiene. A person read every hit. This is what we found.
- 0 secret hits and no committed binaries across 1,101 files and about 106,000 lines, mostly Go.
- 0 pattern hits. There are no install hooks or install scripts; you install it from a package manager or a release download.
- 3 advisories across its 418 pinned Go modules. Two are in github.com/blakesmith/ar, an archive reader rated high for a crash on a malformed file; it is listed only as an indirect dependency, and K9s's own code never imports it. The third says the openpgp part of golang.org/x/crypto is no longer maintained, also an indirect dependency.
- Network: K9s talks to the Kubernetes clusters in your kubeconfig, and on start it asks api.github.com for the latest K9s release so it can tell you about updates. You can turn that off with skipLatestRevCheck in its config. There is no analytics or telemetry.
- 5 workflows, none on pull_request_target; all 3 third-party actions are pinned to a commit. Dependabot is on; there is no security policy and no CodeQL, and its OpenSSF Scorecard is 4.8 out of 10.
What the scanner counted
| Check | Result |
|---|---|
| Secrets | None found. |
| Suspicious code | None found. |
| Install-time code | None: nothing runs at install beyond the package manager itself. |
| Committed binaries | None. |
| CI workflows | 5 workflows. None use pull_request_target. 0 of 3 third-party actions pinned to a tag rather than a commit. |
| Network hosts | 5 distinct hosts referenced from source; most often github.com, dl.k8s.io, storage.googleapis.com, api.github.com. No URLs to bare IP addresses. |
| Known vulnerabilities | 3 advisories across 418 pinned packages: 0 critical, 1 high, 0 moderate, 0 low, 2 unrated. go.mod: 418 packages, 3 advisories. |
| Project hygiene | Has automated dependency updates, licence file. Missing security policy, CodeQL, contributing guide. |
| OpenSSF Scorecard | 4.8 out of 10, as of Nov 30, 2026. |
The raw findings
Every hit the scanner wrote out, with a link to the exact line at the scanned commit. Secrets candidates are redacted.
Worst known vulnerabilities (3 of 3)
| Advisory | Severity | Package | Summary |
|---|---|---|---|
| GHSA-8r27-mm5g-38ww | high | github.com/blakesmith/ar@0.0.0-20190502131153-809d4375e1fb | blakesmith/ar: Denial of service through negative archive-member size |
| GO-2026-6905 | unknown | github.com/blakesmith/ar@0.0.0-20190502131153-809d4375e1fb | Panic on negative member size in Reader.Read in github.com/blakesmith/ar |
| GO-2026-5932 | unknown | golang.org/x/crypto@0.58.0 | The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues |
By the numbers
| Stars | 35.2K |
|---|---|
| Forks | 2,391 |
| Contributors | 439 |
| Commits | 2,287 |
| Open issues | 47 |
| Open pull requests | 80 |
| Releases | 258 |
| Latest release | v0.51.0 |
| Licence | Apache-2.0 |
| Main language | Go |
| Project age | 7 years |
| Last push | Dec 4, 2026 |
| Tracked files | 1,101 |
| Lines of code | 106.1K |
| Checkout size | 10 MB |
Lines by language: Go 77.1K, Markdown 14.1K, YAML 9,774, JSON 5,067.
Questions
Is K9s free?
Yes. It is free and open source under the Apache 2.0 licence, with no account and no paid version.
K9s or kubectl?
K9s uses the same kubeconfig and does the everyday kubectl jobs from one live screen. Keep kubectl for scripts and anything K9s has no view for.
Can K9s break my cluster?
It can do anything your Kubernetes account is allowed to do, including deleting resources. Run k9s --readonly to switch off every command that changes things.
Does K9s work on Windows?
Yes. The project ships builds for Windows, macOS and Linux, and you can install it on Windows with winget, scoop or Chocolatey.
How do I uninstall K9s?
Uninstall it with the same package manager, for example brew uninstall k9s. Your clusters are not touched, and you can delete its config folder if you want its settings gone.
This post is part of GitHub Tools, where every repository is cloned and scanned before it is written up. The scan is a snapshot of one commit on one day; the repository has moved on since, so check it before you install.
