# Install kconf with Homebrew, Nix

CLI for managing multiple kubeconfigs. Version 2.0.0 via Homebrew; verified 2026-07-27. Also installable with nix: nix profile install nixpkgs#kconf.

## Install

```sh
sudo av install brew:kconf
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install kconf
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#kconf
```

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

## Package facts

- **Package key:** brew:kconf
- **Package manager:** Homebrew
- **Version:** 2.0.0
- **Source summary:** CLI for managing multiple kubeconfigs
- **Homepage:** <https://github.com/particledecay/kconf>
- **Repository:** <https://github.com/particledecay/kconf>
- **Last updated:** 2026-07-27T21:58:38+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- kconf (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.0.0
## Project history and usage

kconf is an opinionated command-line tool for managing multiple kubeconfig entries in the default Kubernetes config file.

### Project history

The repository was created in January 2020. Its README explains the motivation as replacing shell automation around the KUBECONFIG environment variable with commands that merge, list, view, remove, and switch contexts in $HOME/.kube/config.

### Adoption history

The batch input records Homebrew and Nix packages. Upstream release history shows rapid 1.x releases during 2020 and a 2.0.0 release on November 17, 2023.

### How it is used

kconf is used to add kubeconfig files, optionally rename contexts on import, list contexts, print one context's config, switch contexts, and set namespaces while leaving kubectl pointed at its default config path.

### Why package nerds care

kconf is a small example of Kubernetes CLI tooling that wraps a common dotfile workflow instead of introducing a new service or database. Its package value is convenience: one executable for a task many operators otherwise solve with shell snippets.

### Timeline

- 2020-01-14: GitHub repository created.
- 2020-01-21: v1.0.0 first stable release published.
- 2020-04-03: v1.1.2 added a view command for extracting a single kubeconfig.
- 2023-11-17: v2.0.0 release published.

### Related projects

- kconf's workflow is built around kubectl's default use of $HOME/.kube/config and the Kubernetes kubeconfig format.

### Sources

- <https://github.com/particledecay/kconf>
- <https://github.com/particledecay/kconf/releases>
- <https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- 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

## Credential files

- Unix: ~/.kube/config
## Other Package-Manager Records

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


## Sources

- 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
