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

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

## インストール

```sh
sudo av install brew:kubecm
```

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

### macOS

- Homebrew (100%):

```sh
brew install kubecm
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#kubecm
```

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

## パッケージ情報

- **パッケージキー:** brew:kubecm
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.35.1
- **ソース概要:** KubeConfig Manager
- **ホームページ:** <https://kubecm.cloud>
- **リポジトリ:** <https://github.com/sunny0826/kubecm>
- **最終更新:** 2026-07-27T21:58:43+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- kubecm (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

KubeCM is a kubeconfig manager for Kubernetes users who work with multiple clusters, namespaces, and context files. It wraps common kubeconfig chores such as listing, switching, merging, deleting, and distributing configurations behind an interactive CLI.

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

The sunny0826/kubecm repository was created on 2019-07-23, and the first GitHub release, v0.0.1, was published on 2019-07-25. The README describes the project plainly as a way to manage kubeconfig more easily.

As the project evolved, its README highlighted context management, kubeconfig merging, interactive selection, a Git-backed registry for team distribution, multi-platform support, and shell completion.

### 採用の歴史

KubeCM sits in the same everyday-operator niche as kubectx and kubens: tools that reduce friction around switching clusters and namespaces. Its documented install paths include Homebrew, GitHub release binaries, and Krew as the kc plugin, which covers both standalone CLI users and kubectl-plugin users.

### 使われ方

The tool is centered on ~/.kube/config and related kubeconfig files. Users employ it to switch contexts, merge files, clean up entries, and share cluster access definitions through the registry feature.

Because kubeconfig files may contain sensitive access material, KubeCM is operationally adjacent to credentials even though it does not define a separate credentials store of its own.

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

KubeCM is package-nerd-significant as a quality-of-life CLI rather than as infrastructure plumbing. It packages a pile of tiny kubeconfig edits into one cross-platform binary that can be installed with Homebrew or Krew and carried across developer machines.

Its popularity reflects a Kubernetes reality: once users touch many clusters, the kubeconfig file becomes a database they need tools to query, merge, and prune.

### タイムライン

- 2019-07-23: GitHub repository created.
- 2019-07-25: GitHub release v0.0.1 published.
- 2019-07-26: GitHub release v0.0.2 published.
- 2026-03-09: GitHub release v0.35.1 published.

### Related projects

- kubectl is the command-line client whose kubeconfig state KubeCM helps manage.
- Krew distributes KubeCM as the kc kubectl plugin.
- kubectx and kubens are adjacent context and namespace switching tools in the same operator-workflow space.

### ソース

- <https://api.github.com/repos/sunny0826/kubecm>
- <https://api.github.com/repos/sunny0826/kubecm/releases>
- <https://formulae.brew.sh/formula/kubecm>
- <https://github.com/sunny0826/kubecm>
- <https://krew.sigs.k8s.io/plugins/>
- <https://kubecm.cloud>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.kube/config
## 他のパッケージマネージャ記録

- Nix - kubecm: normalized package name match | nixpkgs package indexes: pkgs/by-name/ku/kubecm/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/kubecm.yml](https://github.com/mxcl/pkgdb/blob/main/combined/kubecm.yml)


## ソース

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