# kubecfg mit Homebrew, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für kubecfg in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:kubecfg
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install kubecfg
```

  Evidenz: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#kubecfg
```

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

## Paketfakten

- **Paketschlüssel:** brew:kubecfg
- **Paketmanager:** Homebrew
- **Version:** 0.37.0
- **Quellzusammenfassung:** Manage complex enterprise Kubernetes environments as code
- **Homepage:** <https://github.com/kubecfg/kubecfg>
- **Repository:** <https://github.com/kubecfg/kubecfg>
- **Zuletzt aktualisiert:** 2026-05-28T18:48:01Z
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- kubecfg (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 0.37.0
## Projektgeschichte und Nutzung

kubecfg is a Kubernetes configuration-management CLI built around Jsonnet. It lets teams describe Kubernetes resources as reusable code, render or diff them, and apply the resulting desired state to clusters.

### Projektgeschichte

The kubecfg/kubecfg repository was created on 2021-11-17, and the first GitHub release listed by the releases API, v0.23.0, was published on 2021-12-21. The README describes kubecfg as a tool for managing Kubernetes resources as code and notes its similarity to a similarly named internal Google tool.

The project is intentionally thin around Jsonnet. Its README says kubecfg relies heavily on Jsonnet to describe Kubernetes resources and acts as a Kubernetes-specific wrapper around Jsonnet evaluation.

### Adoptionsgeschichte

kubecfg's adoption is concentrated in teams that want Kubernetes manifests in version control but need stronger abstraction and reuse than plain YAML. Its documentation and README emphasize reviewable configuration changes, reproducible desired state, and disaster-recovery-friendly infrastructure-as-code practices.

The Homebrew formula gives macOS and Linuxbrew users a package-manager path, while GitHub releases provide precompiled binaries for direct installation.

### Wie es verwendet wird

Users write Jsonnet, JSON, or YAML inputs, then use kubecfg show, diff, update, and delete against Kubernetes resources. The README quickstart demonstrates rendering YAML, applying objects, comparing local desired state with the server, updating the cluster, and deleting the demo resources.

Features such as dependency-aware sorting, extra Jsonnet builtins, and optional garbage collection make kubecfg fit repositories where Kubernetes configuration is treated as code rather than as hand-edited deployment YAML.

### Warum Paket-Nerds sich dafür interessieren

kubecfg is interesting to package nerds because it represents the Jsonnet branch of Kubernetes configuration tooling. In the package ecosystem it sits beside Helm and Kustomize, but its core bet is a general-purpose data-templating language rather than chart packages or patch overlays.

Its small CLI shape also makes it a classic infrastructure-as-code package: installable by Homebrew, runnable in CI, and tied closely to the Kubernetes and Jsonnet release surfaces.

### Zeitleiste

- 2021-11-17: GitHub repository created.
- 2021-12-21: GitHub release v0.23.0 published.
- 2021-12-22: GitHub release v0.24.0 published.
- 2026-05-28: GitHub release v0.37.0 published.

### Related projects

- Jsonnet is the data-templating language kubecfg relies on.
- Kubernetes is the target resource API.
- Helm and Kustomize solve adjacent Kubernetes configuration packaging and customization problems with different models.

### Quellen

- <https://api.github.com/repos/kubecfg/kubecfg>
- <https://api.github.com/repos/kubecfg/kubecfg/releases>
- <https://formulae.brew.sh/formula/kubecfg>
- <https://github.com/kubecfg/kubecfg>
- <https://jsonnet.org/>
- <https://kubecfg.github.io/kubecfg>


## Sicherheitshinweise

infrastructure mutation or orchestration signal.

- **Geiger-Risiko:** orange / mittel
- infrastructure mutation or orchestration signal

## Andere Paketmanager-Einträge

- Nix - kubecfg: normalized package name match | nixpkgs package indexes: pkgs/by-name/ku/kubecfg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/kubecfg.yml](https://github.com/mxcl/pkgdb/blob/main/combined/kubecfg.yml)


## Quellen

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
