# 使用 Homebrew, Nix, winget 安装 kafkactl

查看 kafkactl 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:kafkactl
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install kafkactl
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#kafkactl
```

  证据: nixpkgs package indexes: pkgs/by-name/ka/kafkactl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- winget (92%):

```sh
winget install --id deviceinsight.kafkactl -e
```

  证据: Windows Package Manager source index: deviceinsight.kafkactl from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:kafkactl
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/kafkactl>
- **版本:** 5.19.0
- **来源摘要:** CLI for managing Apache Kafka
- **主页:** <https://deviceinsight.github.io/kafkactl/>
- **仓库:** <https://github.com/deviceinsight/kafkactl>
- **上游文档:** <https://deviceinsight.github.io/kafkactl>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/deviceinsight/kafkactl/archive/refs/tags/v5.19.0.tar.gz>
- **最后更新:** 2026-05-13T15:39:07Z
- **已生成:** 2026-07-26T07:20:29+00:00

## 可执行文件

- kafkactl (cli)
- kafkactl (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-26
- 管理器版本: 5.19.0
- 管理器更新时间: 2026-05-13
- 本地数据: OK
- 上游仓库: https://github.com/deviceinsight/kafkactl
- 检测到的最新版本: v5.19.0 (当前)
## 项目历史与用法

kafkactl is a Go command-line interface for operating Apache Kafka clusters, with commands for topics, consumer groups, brokers, ACLs, schemas, producing, and consuming messages.

### 项目历史

Device Insight opened the public GitHub repository in December 2018 and published release 0.0.1 on 2018-12-12, followed by 1.0.0 on 2019-01-23. The project grew around the common need for a kubectl-style Kafka administration tool with shell completion, contexts, schema-registry support, Kubernetes-assisted access, and plugin-based token providers.

### 采用历史

The upstream README documents Homebrew, Winget, deb/rpm, AUR, manual binaries, Docker, and Kubernetes use. That packaging spread made kafkactl a practical day-to-day tool for developers and platform engineers who need Kafka administration without running heavier web consoles.

### 使用方式

Users configure named Kafka contexts in config.yml, then use kafkactl to list and manage topics, inspect consumer groups, produce and consume records, and work with Avro, JSON Schema, and Protobuf payloads. Credentials may live in the config file, OS keyring, or Kubernetes secrets depending on the deployment model.

### 为什么软件包爱好者会关心

For package-manager users, kafkactl is notable because it is a single static-feeling CLI that wraps several Kafka workflows that otherwise require a mix of Kafka distribution scripts, schema-registry clients, kubectl port access, and ad hoc shell helpers.

### 时间线

- 2018-12-10: Public GitHub repository created.
- 2018-12-12: Release 0.0.1 published.
- 2019-01-23: Release 1.0.0 published.
- 2026-05-13: Release v5.19.0 published.

### Related projects

- Related tools and services include Apache Kafka, IBM Sarama, Confluent Schema Registry-compatible APIs, kubectl, and the kafkactl plugin repositories for token-provider integrations.

### 来源

- <https://api.github.com/repos/deviceinsight/kafkactl>
- <https://api.github.com/repos/deviceinsight/kafkactl/releases?per_page=100>
- <https://deviceinsight.github.io/kafkactl>
- <https://github.com/deviceinsight/kafkactl>


## 安全说明

没有找到 kafkactl 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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: ~/.config/kafkactl/config.yml, ~/.kafkactl/config.yml, /etc/kafkactl/config.yml
- Windows: %APPDATA%\kafkactl\config.yml

## Credential files

- Unix: ~/.config/kafkactl/config.yml, ~/.kafkactl/config.yml, /etc/kafkactl/config.yml
- Windows: %APPDATA%\kafkactl\config.yml
## 源数据库详情

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

## 其他软件包管理器记录

- Nix - kafkactl: normalized package name match | nixpkgs package indexes: pkgs/by-name/ka/kafkactl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- winget - deviceinsight.kafkactl: normalized package name match | Windows Package Manager source index: deviceinsight.kafkactl from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [kafkactl-aws-plugin](https://www.automicvault.com/zh-hans/pkg/brew/kafkactl-aws-plugin/) - Popular package that depends on this formula.
- [kafkactl-azure-plugin](https://www.automicvault.com/zh-hans/pkg/brew/kafkactl-azure-plugin/) - Popular package that depends on this formula.
- [khaos](https://www.automicvault.com/zh-hans/pkg/brew/khaos/) - Shares av.db curated category or tags: cli, developer-tools, kafka.

## Combined YAML source

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


## 来源

- 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
