# Install kconf with Homebrew, Nix

CLI for managing multiple kubeconfigs. Version 2.0.0 via Homebrew; verified from local package data.

## 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
- **Package manager page:** <https://formulae.brew.sh/formula/kconf>
- **Version:** 2.0.0
- **Source summary:** CLI for managing multiple kubeconfigs
- **Homepage:** <https://github.com/particledecay/kconf>
- **Repository:** <https://github.com/particledecay/kconf>
- **Upstream docs:** <https://github.com/particledecay/kconf#readme>
- **License:** MIT
- **Source archive:** <https://github.com/particledecay/kconf/archive/refs/tags/v2.0.0.tar.gz>
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

- kconf (cli)
- kconf (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-09
- Package-manager version: 2.0.0
- Local data: ok
- Upstream repository: https://github.com/particledecay/kconf
- Upstream latest detected: v2.0.0 (current)
- info: No package-manager update timestamp was available.
## 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
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** kconf
- **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

- 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


## 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.
- [kubetrim](https://www.automicvault.com/pkg/brew/kubetrim/) - Shares av.db curated category or tags: cli, cloud-infrastructure, configuration, kubeconfig, kubernetes.
- [qbec](https://www.automicvault.com/pkg/brew/qbec/) - Shares av.db curated category or tags: cli, cloud-infrastructure, configuration, kubernetes.
- [devspace](https://www.automicvault.com/pkg/brew/devspace/) - Shares av.db curated category or tags: cli, cloud-infrastructure, devops, kubernetes.
- [havener](https://www.automicvault.com/pkg/brew/havener/) - Shares av.db curated category or tags: cli, cloud-infrastructure, devops, kubernetes.
- [helm](https://www.automicvault.com/pkg/brew/helm/) - Shares av.db curated category or tags: cli, cloud-infrastructure, devops, kubernetes.
- [helmfile](https://www.automicvault.com/pkg/brew/helmfile/) - Shares av.db curated category or tags: cli, cloud-infrastructure, devops, kubernetes.
- [helmsman](https://www.automicvault.com/pkg/brew/helmsman/) - Shares av.db curated category or tags: cli, cloud-infrastructure, devops, kubernetes.
- [kbld](https://www.automicvault.com/pkg/brew/kbld/) - Shares av.db curated category or tags: cli, cloud-infrastructure, devops, kubernetes.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
