# ahmetb/kubectl-aliases

Programmatically generated handy kubectl aliases.

Repository: https://github.com/ahmetb/kubectl-aliases
Canonical: https://ross.abutalabs.com/products/kubectl-aliases
Homepage: https://ahmet.im/blog/kubectl-aliases/
Language: Nu
License: Apache-2.0
License Family: permissive
Topics: kubernetes, kubectl
Last push: 2025-05-11T17:04:45+00:00

## Health v2 (maintenance only)
Score: 42/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 21, release rhythm 35, longevity 100
- inputs: {"age_days": 3242, "days_push": 479, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3704, forks 865 (observed 2026-08-28T04:08:15.048166+00:00)

## What it is
A script that programmatically generates hundreds of shell aliases for kubectl, shortening common Kubernetes commands and flag combinations. Aliases are provided pre-generated for bash/zsh, fish, and Nushell.

## Use cases
- shorten kubectl commands in my shell
- generate kubectl aliases for bash and zsh
- type less when managing kubernetes clusters
- kubectl shortcuts like k and kgpo
- fish abbreviations for kubectl
- nushell kubectl aliases

## When to choose
- you use kubectl daily and want faster typing
- you want a simple, dependency-free shell configuration drop-in
- you prefer memorizing a systematic shorthand syntax

## When to avoid
- you rarely use kubectl and won't benefit from learning the alias syntax
- you prefer a full-featured kubectl wrapper or plugin with interactive features
- your shell isn't bash, zsh, fish, or nushell

## Facets
- artifact type: cli-tool
- maturity: stable
- function: cli, developer-tools
- domain: developer-tools
- platform: windows, cli
- tags: kubectl, kubernetes, shell-aliases, bash, zsh, fish, nushell, productivity, command-line, devops, linux, macos

## Member repositories
- ahmetb/kubectl-aliases (main) score 42

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:15.048166+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:30:59.731944+00:00, confidence not recorded.
  - readme: https://github.com/ahmetb/kubectl-aliases (fetched 2026-08-28T04:08:15.048166+00:00, sha a8d3ed7d5e3b)
  - homepage: https://ahmet.im/blog/kubectl-aliases/ (fetched 2026-08-29T09:24:33.000405+00:00, sha 3f094e2ef28a)
  - site_page: https://ahmet.im/ (fetched 2026-08-29T09:24:33.009849+00:00, sha 04dfe577e3be)
- Data as of 2026-08-30T08:39:29.467469+00:00.
