kubernetes-cli

Install command:
brew install kubernetes-cli

Also known as: kubectl, kubernetes-cli@1.37

Kubernetes command-line interface

https://kubernetes.io/docs/reference/kubectl/

License: Apache-2.0

Development: Pull requests

Formula JSON API: /api/formula/kubernetes-cli.json

Formula code: kubernetes-cli.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 1.37.2
head ⚡️ HEAD

Other versions:

kubernetes-cli@1.35 1.35.10 Kubernetes command-line interface
kubernetes-cli@1.34 1.34.12 Kubernetes command-line interface
kubernetes-cli@1.33 1.33.13 Kubernetes command-line interface
kubernetes-cli@1.32 1.32.13 Kubernetes command-line interface

Depends on when building from source:

go@1.26 1.26.11 Open source programming language to build simple/reliable/efficient software
bash 5.3.20 Bourne-Again SHell, a UNIX command interpreter
coreutils 9.12 GNU File, Shell, and Text utilities

Binaries: kubectl

GitHub Packages downloads:

Last 30 days215,109
Downloads16,015,631
Analytics install events (30 days)39,368
Downloads / install events (30 days)5.5×

Source: GitHub Packages, fetched 2026-11-11T00:50:21Z. Analytics dates: 2026-10-12 to 2026-11-11. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs39,320111,876557,616
Installs (--HEAD)48197852
Installs on Request36,218101,727497,061
Installs on Request (--HEAD)48197852
Build Errors226