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.3
head ⚡️ HEAD

Other versions:

kubernetes-cli@1.35 1.35.11 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 days262,861
Downloads16,193,557
Analytics install events (30 days)40,178
Downloads / install events (30 days)6.5×

Source: GitHub Packages, fetched 2026-12-01T01:07:57Z. Analytics dates: 2026-11-01 to 2026-12-01. 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
Installs40,131102,087548,237
Installs (--HEAD)47160824
Installs on Request36,81593,672490,948
Installs on Request (--HEAD)47160824
Build Errors199