kube-ps1

Install command:
brew install kube-ps1

Kubernetes prompt info for bash and zsh

https://github.com/jonmosco/kube-ps1

License: Apache-2.0

Formula JSON API: /api/formula/kube-ps1.json

Bottle JSON API: /api/bottle/kube-ps1.json

Formula code: kube-ps1.rb on GitHub

Bottle (binary package) installation support provided.

Current versions:

stable 0.8.0
head ⚡️ HEAD

Depends on:

kubernetes-cli 1.25.4 Kubernetes command-line interface
Make sure kube-ps1 is loaded from your ~/.zshrc and/or ~/.bashrc:
    source "$(brew --prefix)/opt/kube-ps1/share/kube-ps1.sh"
    PS1='$(kube_ps1)'$PS1

Analytics (macOS):

Installs (30 days)
kube-ps1 3,719
kube-ps1 --HEAD 2
Installs on Request (30 days)
kube-ps1 3,698
kube-ps1 --HEAD 2
Build Errors (30 days)
kube-ps1 0
Installs (90 days)
kube-ps1 7,482
kube-ps1 --HEAD 2
Installs on Request (90 days)
kube-ps1 7,394
kube-ps1 --HEAD 2
Installs (365 days)
kube-ps1 24,025
kube-ps1 --HEAD 5
Installs on Request (365 days)
kube-ps1 23,683
kube-ps1 --HEAD 5

Analytics (Linux):

Installs (30 days)
kube-ps1 228
kube-ps1 --HEAD 1
Installs on Request (30 days)
kube-ps1 227
kube-ps1 --HEAD 1
Build Errors (30 days)
kube-ps1 0
Installs (90 days)
kube-ps1 751
kube-ps1 --HEAD 1
Installs on Request (90 days)
kube-ps1 746
kube-ps1 --HEAD 1
Installs (365 days)
kube-ps1 2,089
kube-ps1 --HEAD 1
Installs on Request (365 days)
kube-ps1 2,073
kube-ps1 --HEAD 1
Fork me on GitHub