# kcat を Homebrew, apk, apt, dnf, MacPorts, Nix でインストール

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

## インストール

```sh
sudo av install brew:kcat
```

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

### macOS

- Homebrew (100%):

```sh
brew install kcat
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install kcat
```

  証拠: MacPorts ports tree: net/kcat/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add kcat
```

  証拠: Alpine Linux edge package indexes: kcat from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install kcat
```

  証拠: Debian stable package indexes: kcat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install kcat
```

  証拠: Fedora Rawhide package metadata: kcat from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#kcat
```

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

## パッケージ情報

- **パッケージキー:** brew:kcat
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/kcat>
- **バージョン:** 1.7.0
- **ソース概要:** Generic command-line non-JVM Apache Kafka producer and consumer
- **ホームページ:** <https://github.com/edenhill/kcat>
- **リポジトリ:** <https://github.com/edenhill/kcat>
- **ライセンス:** BSD-2-Clause
- **ソースアーカイブ:** <https://github.com/edenhill/kcat.git>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- kcat (cli)
- kcat (エイリアス)

## 依存関係

- avro-c
- librdkafka
- libserdes
- yajl

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.7.0
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/edenhill/kcat
- 情報: No package-manager update timestamp was available.
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

kcat is the Apache Kafka command-line producer and consumer formerly known as kafkacat. Its README describes it as a generic non-JVM client and a netcat-like tool for Kafka.

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

Magnus Edenhill created the project in 2014 around librdkafka, giving Kafka operators a small native command-line client instead of requiring JVM tooling for quick production, consumption, metadata inspection, and scripting tasks.

The project kept the kafkacat name through the 1.6 series and then renamed to kcat in the 1.7.0 release in August 2021 to follow Apache Software Foundation trademark policy. The changelog says the rename did not otherwise change the program.

### 採用の歴史

kcat became widely packaged because it fills a common operational gap for Kafka clusters: quick CLI inspection and data movement. The batch input records packages across Homebrew, Debian, Ubuntu, Fedora, Alpine, MacPorts, and Nix, and the README documents package-manager installs and a Docker image.

### 使われ方

Common usage includes producing messages from stdin or files, consuming topics and partitions to stdout, listing cluster metadata with -L, joining balanced consumer groups with -G, printing JSON envelopes, using Confluent Schema Registry for Avro decoding, and passing librdkafka configuration with -X or config files.

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

kcat matters to package people because it is the small, scriptable Kafka tool that often gets installed beside kubectl, jq, and other operations CLIs. Its rename also created a packaging transition from kafkacat to kcat while retaining backward-compatible config paths for a period.

### タイムライン

- 2014-03-30: GitHub repository created.
- 2014-04-07: 1.0.0 release published.
- 2020-07-21: 1.6.0 added transactional producer support.
- 2021-08-23: 1.7.0 renamed kafkacat to kcat.
- 2024: 1.8.0 changelog entry documents mock cluster mode.

### Related projects

- kcat is built on librdkafka and can integrate with Confluent Schema Registry through Avro deserialization support.

### ソース

- <https://github.com/edenhill/kcat>
- <https://github.com/edenhill/kcat/blob/master/CHANGELOG.md>
- <https://github.com/edenhill/kcat/releases>
- <https://github.com/edenhill/librdkafka>


## セキュリティノート

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: ~/.config/kcat.conf, ~/.config/kafkacat.conf
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** kcat
- **Version Scheme:** 0
- **Revision:** 1
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 他のパッケージマネージャ記録

- Debian apt - kcat - 1.7.1-3: normalized package name match | Debian stable package indexes: kcat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | producer and consumer for Apache Kafka | https://github.com/edenhill/kcat
- Nix - kcat: normalized package name match | nixpkgs package indexes: pkgs/by-name/kc/kcat/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - kcat - 1.7.1-3: normalized package name match | Ubuntu 24.04 LTS package indexes: kcat from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | producer and consumer for Apache Kafka | https://github.com/edenhill/kcat
- apk - kcat - 1.7.1-r3: normalized package name match | Alpine Linux edge package indexes: kcat from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Generic command-line non-JVM Apache Kafka producer and consumer | https://github.com/edenhill/kcat
- dnf - kcat - 1.7.1-10.fc45: normalized package name match | Fedora Rawhide package metadata: kcat from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Generic command line non-JVM Apache Kafka producer and consumer | https://github.com/edenhill/kcat
- MacPorts - kcat: normalized package name match | MacPorts ports tree: net/kcat/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [yajl](https://pkg.so/ja/brew/yajl/) - Runtime dependency declared by Homebrew.
- [avro-c](https://pkg.so/ja/brew/avro-c/) - Runtime dependency declared by Homebrew.
- [kaskade](https://pkg.so/ja/brew/kaskade/) - Shares pkgdb curated category or tags: cli, data, kafka, messaging.
- [kaf](https://pkg.so/ja/brew/kaf/) - Shares pkgdb curated category or tags: cli, data, kafka, messaging.
- [activemq](https://pkg.so/ja/brew/activemq/) - Shares pkgdb curated category or tags: cli, data, messaging.
- [ktea](https://pkg.so/ja/brew/ktea/) - Shares pkgdb curated category or tags: cli, data, kafka.
- [nsq](https://pkg.so/ja/brew/nsq/) - Shares pkgdb curated category or tags: cli, data, messaging.
- [openmama](https://pkg.so/ja/brew/openmama/) - Shares pkgdb curated category or tags: cli, data, messaging.
- [lcm](https://pkg.so/ja/brew/lcm/) - Shares pkgdb curated category or tags: cli, data, messaging.
- [kafka](https://pkg.so/ja/brew/kafka/) - Shares pkgdb curated category or tags: cli, data, messaging.

## Combined YAML source

View the package source record on GitHub. [combined/kcat.yml](https://github.com/mxcl/pkgdb/blob/main/combined/kcat.yml)


## ソース

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