# k8sgpt mit Homebrew, Nix installieren

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

## Installation

```sh
sudo av install brew:k8sgpt
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install k8sgpt
```

  Evidenz: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#k8sgpt
```

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

## Paketfakten

- **Paketschlüssel:** brew:k8sgpt
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/k8sgpt>
- **Version:** 0.4.36
- **Quellzusammenfassung:** Scanning your k8s clusters, diagnosing, and triaging issues in simple English
- **Homepage:** <https://k8sgpt.ai/>
- **Repository:** <https://github.com/k8sgpt-ai/k8sgpt>
- **Upstream-Dokumentation:** <https://docs.k8sgpt.ai/>
- **Lizenz:** Apache-2.0
- **Quellarchiv:** <https://github.com/k8sgpt-ai/k8sgpt/archive/refs/tags/v0.4.36.tar.gz>
- **Zuletzt aktualisiert:** 2026-07-10T16:07:12Z
- **Generiert:** 2026-07-25T07:20:51+00:00

## Executables

- k8sgpt (cli)
- k8sgpt (Alias)

## Build-Abhängigkeiten

- go

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-07-25
- Manager-Version: 0.4.36
- Manager aktualisiert: 2026-07-10
- lokale Daten: OK
- Upstream-Repository: https://github.com/k8sgpt-ai/k8sgpt
- neueste erkannte Version: v0.4.36 (aktuell)
## Projektgeschichte und Nutzung

K8sGPT is a Kubernetes diagnostics CLI that combines cluster analysis with large-language-model backends, turning Kubernetes failure signals into plain-English explanations. In package-manager culture it sits at the meeting point of cloud-native operations and the 2023 wave of AI-assisted developer tooling.

### Projektgeschichte

The public GitHub repository was created in March 2023 under the k8sgpt-ai organization. The project describes itself as a tool for scanning Kubernetes clusters, diagnosing and triaging issues in simple English, with analyzers that encode SRE experience.

K8sGPT moved quickly from a standalone CLI idea into a broader cloud-native project surface. The documentation covers getting started flows, integrations, and operator-style use, while the repository and project site present the tool as a Kubernetes-first assistant rather than a general chatbot wrapper.

### Adoptionsgeschichte

CNCF accepted K8sGPT as a Sandbox project on December 19, 2023. That milestone gave the tool a recognizable governance and discovery channel in the same ecosystem as Kubernetes, Helm, Prometheus, and other operational packages.

Homebrew and Nix packaging made the CLI easy to install into local Kubernetes troubleshooting workflows. Its adoption pattern is typical of modern cloud-native CLIs: operators install a small binary, point it at kubeconfig-backed clusters, and then decide which AI backend or integration is appropriate for their environment.

### Wie es verwendet wird

K8sGPT is commonly used as an interactive diagnostic layer for Kubernetes clusters. Users run the CLI against live cluster resources, review analyzer output, and optionally use configured AI providers to explain or triage the findings.

Because its credentials and backend settings can live in the same user-level YAML configuration, the package has an operational security dimension: it is not just a read-only formatter, but a tool that may combine Kubernetes access with AI provider credentials.

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

For package nerds, K8sGPT is a snapshot of the moment when AI tools became normal enough to be packaged beside kubectl-adjacent utilities. It is small, Go-based, cloud-native, and interesting precisely because it translates high-context cluster state into a single local command.

Its CNCF Sandbox status also matters: Homebrew formulae for CNCF-adjacent projects often become the fastest path for operators to try experimental infrastructure tools without committing to a cluster add-on first.

### Zeitleiste

- 2023-03: Public GitHub repository created.
- 2023-04: Early v0.1.x and v0.2.x releases published.
- 2023-12-19: Accepted into the CNCF Sandbox.

### Related projects

- K8sGPT belongs near kubectl, k9s, Lens, Prometheus, and Kubernetes operator tooling in a package taxonomy. Its related project surface includes the K8sGPT operator, Kubernetes analyzers, and AI provider integrations rather than Kafka-style data-plane tools.

### Quellen

- <https://api.github.com/repos/k8sgpt-ai/k8sgpt>
- <https://docs.k8sgpt.ai/>
- <https://formulae.brew.sh/formula/k8sgpt>
- <https://github.com/k8sgpt-ai/k8sgpt>
- <https://github.com/k8sgpt-ai/k8sgpt/releases>
- <https://www.cncf.io/projects/k8sgpt/>


## Sicherheitshinweise

infrastructure mutation or orchestration signal.

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


## 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: ~/.k8sgpt.yaml

## Credential files

- Unix: ~/.k8sgpt.yaml
## Details aus der Quelldatenbank

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

## Andere Paketmanager-Einträge

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


## Verwandte Links

- [Cloud CLI packages](https://www.automicvault.com/de/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [MCP tool packages](https://www.automicvault.com/de/pkg/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [Secret-risk packages](https://www.automicvault.com/de/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [AI and agent packages](https://www.automicvault.com/de/pkg/ai-agent-tools/) - Matched AI model, agent, coding-agent, orchestration, or MCP metadata.
- [go](https://www.automicvault.com/de/pkg/brew/go/) - Build dependency declared by Homebrew.
- [kubectl-ai](https://www.automicvault.com/de/pkg/brew/kubectl-ai/) - Shares av.db curated category or tags: ai, cli, kubernetes, model-tools.
- [aiac](https://www.automicvault.com/de/pkg/brew/aiac/) - Shares av.db curated category or tags: ai, cli, model-tools.
- [aichat](https://www.automicvault.com/de/pkg/brew/aichat/) - Shares av.db curated category or tags: ai, cli, model-tools.
- [apfel](https://www.automicvault.com/de/pkg/brew/apfel/) - Shares av.db curated category or tags: ai, cli, model-tools.
- [ata](https://www.automicvault.com/de/pkg/brew/ata/) - Shares av.db curated category or tags: ai, cli, model-tools.
- [cai](https://www.automicvault.com/de/pkg/brew/cai/) - Shares av.db curated category or tags: ai, cli, model-tools.
- [chatblade](https://www.automicvault.com/de/pkg/brew/chatblade/) - Shares av.db curated category or tags: ai, cli, model-tools.
- [cliproxyapi](https://www.automicvault.com/de/pkg/brew/cliproxyapi/) - Shares av.db curated category or tags: ai, cli, model-tools.
- [gollama](https://www.automicvault.com/de/pkg/brew/gollama/) - Local package facts share a topical domain. Shared terms: ai, cli, model, model-tools, your.
- [llmfit](https://www.automicvault.com/de/pkg/brew/llmfit/) - Local package facts share a topical domain. Shared terms: ai, cli, model, model-tools, your.

## Combined YAML source

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


## Quellen

- 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
