# Install kubecolor with Homebrew, apt, MacPorts, Nix, scoop, winget, zypper

Colorize your kubectl output. Version 0.6.0 via Homebrew; verified 2026-04-12.

## Install

```sh
sudo av install brew:kubecolor
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install kubecolor
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install kubecolor
```

  Evidence: MacPorts ports tree: devel/kubecolor/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install kubecolor
```

  Evidence: Debian stable package indexes: kubecolor from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#kubecolor
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ku/kubecolor/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install kubecolor
```

  Evidence: openSUSE Tumbleweed package metadata: kubecolor from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/kubecolor
```

  Evidence: Scoop official bucket manifest trees: bucket/kubecolor.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Kubecolor.kubecolor -e
```

  Evidence: Windows Package Manager source index: Kubecolor.kubecolor from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:kubecolor
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/kubecolor>
- **Version:** 0.6.0
- **Source summary:** Colorize your kubectl output
- **Homepage:** <https://kubecolor.github.io/>
- **Repository:** <https://github.com/kubecolor/kubecolor>
- **Upstream docs:** <https://github.com/kubecolor/kubecolor#readme>
- **License:** MIT
- **Source archive:** <https://github.com/kubecolor/kubecolor/archive/refs/tags/v0.6.0.tar.gz>
- **Last updated:** 2026-04-12T18:30:40Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- kubecolor (cli)
- kubecolor (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.6.0
- Package-manager updated: 2026-04-12
- Local data: ok
- Upstream repository: https://github.com/kubecolor/kubecolor
- Upstream latest detected: v0.6.0 (current)
## Project history and usage

kubecolor is a kubectl wrapper that runs kubectl and colorizes its output. Its aim is intentionally narrow: make common Kubernetes terminal output easier to scan while preserving kubectl's command shape.

### Project history

The kubecolor/kubecolor repository was created on 2022-09-23, and the first GitHub release in that repository's releases feed, v0.0.21, was published on 2022-09-28. The README states that this project is a heavily modified version of the original kubecolor archived at hidetatz/kubecolor.

The project grew from a simple colorizing wrapper into a maintained CLI with documentation, custom themes, autocompletion, dynamic TTY detection, and colorblind-adjusted themes.

### Adoption history

kubecolor's adoption follows a terminal-tool route: users alias kubectl to kubecolor, or use the KUBECTL_COMMAND environment variable to wrap compatible commands such as oc. Its official site presents it as compatible with any kubectl version because it delegates command execution to kubectl.

### How it is used

A common setup is alias kubectl="kubecolor", after which ordinary kubectl commands produce colorized output. The tool detects non-interactive output and can leave plaintext for scripts and pipes, avoiding a common failure mode for terminal color wrappers.

Because kubecolor is a visual wrapper rather than a Kubernetes API client, it does not manage configuration or credentials itself; it depends on kubectl and the user's existing kubeconfig setup.

### Why package nerds care

kubecolor is the package-manager version of a shell customization: small, optional, and immediately visible. It is the kind of tool that spreads through dotfiles, Homebrew installs, and team recommendations because it improves the default Kubernetes CLI experience without changing Kubernetes itself.

Its package interest also comes from restraint. Instead of building a replacement client, it composes with kubectl, which keeps the binary easy to reason about and easy to remove if a workflow needs plain output.

### Timeline

- 2022-09-23: kubecolor/kubecolor GitHub repository created.
- 2022-09-28: GitHub release v0.0.21 published.
- 2023-12-15: GitHub release v0.1.0 published.
- 2026-04-12: GitHub release v0.6.0 published.

### Related projects

- kubectl is the command kubecolor wraps.
- hidetatz/kubecolor is the archived original project named by the README.
- OpenShift's oc command can be wrapped through KUBECTL_COMMAND according to the README.
- kubecolor.github.io hosts the project documentation.

### Sources

- <https://api.github.com/repos/kubecolor/kubecolor>
- <https://api.github.com/repos/kubecolor/kubecolor/releases>
- <https://formulae.brew.sh/formula/kubecolor>
- <https://github.com/hidetatz/kubecolor>
- <https://github.com/kubecolor/kubecolor>
- <https://kubecolor.github.io/>
- <https://kubecolor.github.io/usage/getting-started>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** kubecolor
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - kubecolor - 0.0.20-2+b17: normalized package name match | Debian stable package indexes: kubecolor from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | colorizes kubectl output | https://github.com/dty1er/kubecolor
- Nix - kubecolor: normalized package name match | nixpkgs package indexes: pkgs/by-name/ku/kubecolor/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - kubecolor - 0.0.20-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: kubecolor from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | colorizes kubectl output | https://github.com/dty1er/kubecolor
- zypper - kubecolor - 0.6.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: kubecolor from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Colorize your kubectl output | https://kubecolor.github.io/
- MacPorts - kubecolor: normalized package name match | MacPorts ports tree: devel/kubecolor/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/kubecolor: normalized package name match | Scoop official bucket manifest trees: bucket/kubecolor.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Kubecolor.kubecolor: normalized package name match | Windows Package Manager source index: Kubecolor.kubecolor from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [kubectl-tree](https://www.automicvault.com/pkg/brew/kubectl-tree/) - Shares av.db curated category or tags: cli, developer-tools, kubectl, kubectl-plugin, kubernetes.
- [kubectl-cnpg](https://www.automicvault.com/pkg/brew/kubectl-cnpg/) - Shares av.db curated category or tags: cli, developer-tools, kubectl-plugin, kubernetes.
- [kubectl-rook-ceph](https://www.automicvault.com/pkg/brew/kubectl-rook-ceph/) - Shares av.db curated category or tags: cli, developer-tools, kubectl-plugin, kubernetes.
- [krew](https://www.automicvault.com/pkg/brew/krew/) - Shares av.db curated category or tags: cli, developer-tools, kubectl, kubernetes.
- [kubecm](https://www.automicvault.com/pkg/brew/kubecm/) - Shares av.db curated category or tags: cli, developer-tools, kubectl, kubernetes.
- [kubectl-ai](https://www.automicvault.com/pkg/brew/kubectl-ai/) - Shares av.db curated category or tags: cli, developer-tools, kubectl, kubernetes.
- [kubectx](https://www.automicvault.com/pkg/brew/kubectx/) - Shares av.db curated category or tags: cli, developer-tools, kubectl, kubernetes.
- [kubelogin](https://www.automicvault.com/pkg/brew/kubelogin/) - Shares av.db curated category or tags: cli, developer-tools, kubectl, kubernetes.

## Combined YAML source

View the package source record on GitHub. [combined/kubecolor.yml](https://github.com/automic-vault/db/blob/main/combined/kubecolor.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
