# kubecfg を Homebrew, Nix でインストール

kubecfg のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install kubecfg
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## パッケージ情報

- **パッケージキー:** brew:kubecfg
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.37.0
- **ソース概要:** Manage complex enterprise Kubernetes environments as code
- **ホームページ:** <https://github.com/kubecfg/kubecfg>
- **リポジトリ:** <https://github.com/kubecfg/kubecfg>
- **最終更新:** 2026-05-28T18:48:01Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- kubecfg (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.37.0
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

- 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.

### ソース

- <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>


## セキュリティノート

infrastructure mutation or orchestration signal.

- **Geiger リスク:** orange / 中
- infrastructure mutation or orchestration signal

## 他のパッケージマネージャ記録

- 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)


## ソース

- 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
