# kaf を Homebrew, MacPorts, Nix, scoop でインストール

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

## インストール

```sh
sudo av install brew:kaf
```

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

### macOS

- Homebrew (100%):

```sh
brew install kaf
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install kaf
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#kaf
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/kaf
```

  証拠: Scoop official bucket manifest trees: bucket/kaf.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:kaf
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/kaf>
- **バージョン:** 0.2.14
- **ソース概要:** Modern CLI for Apache Kafka
- **ホームページ:** <https://github.com/birdayz/kaf>
- **リポジトリ:** <https://github.com/birdayz/kaf>
- **ライセンス:** Apache-2.0
- **ソースアーカイブ:** <https://github.com/birdayz/kaf/archive/refs/tags/v0.2.14.tar.gz>
- **最終更新:** 2026-07-27T21:58:35+02:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## ビルド依存関係

- go

## インストール挙動

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

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.2.14
- マネージャ更新日: 2026-07-27
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/birdayz/kaf
- 検出された最新: v0.2.14 (最新)
## プロジェクトの歴史と使われ方

Kaf is a Go-based command-line client for Apache Kafka. It gives Kafka users a compact native CLI alternative to the JVM-centered scripts that ship with Apache Kafka itself.

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

The birdayz/kaf repository was created in September 2018, and the first GitHub release series began with v0.1.0 on September 30, 2018. The project describes itself as a modern CLI for Apache Kafka, written in Go.

Its design follows the pattern of a single-purpose operational CLI: configuration lives under the user's home directory, commands wrap common Kafka interactions, and the binary can be distributed through package managers without installing the full Kafka distribution.

### 採用の歴史

Kaf has a smaller footprint than Apache Kafka or K9s, but its package-manager presence in Homebrew, MacPorts, Nix, and Scoop shows the value of a lightweight Kafka CLI for local workstations and scripts.

The repository metadata showed a multi-year maintenance history and a modest but real audience by July 2026, with thousands of GitHub stars rather than only incidental packaging.

### 使われ方

Kaf is used for direct Kafka administration and inspection tasks such as working with topics, consumers, producers, and cluster metadata from a local shell.

Because Kafka credentials and cluster definitions can live in the Kaf configuration file, the package is part of the user's data-infrastructure access surface, not merely a display utility.

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

Kaf matters to package collectors because it represents the ergonomic rewrite pattern: a large server project ships official scripts, and the ecosystem produces a smaller native CLI that is easier to install, tab-complete, and carry between machines.

Its Homebrew formula is also useful metadata: it distinguishes the Kafka client utility named kaf from Apache Kafka itself and from similarly named tools such as kafkactl.

### タイムライン

- 2018-09: Public GitHub repository created.
- 2018-09-30: v0.1.0 release published.
- 2026-07-01: Repository metadata showed more than 2,400 stars.

### Related projects

- Kaf is related to Apache Kafka, Sarama-based Go Kafka tooling, kafkactl, kcat, and the Kafka command scripts included with the Apache distribution.

### ソース

- <https://api.github.com/repos/birdayz/kaf>
- <https://formulae.brew.sh/formula/kaf>
- <https://github.com/birdayz/kaf>
- <https://github.com/birdayz/kaf/releases>


## セキュリティノート

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: ~/.kaf/config

## Credential files

- Unix: ~/.kaf/config
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** kaf
- **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 - kaf: normalized package name match | nixpkgs package indexes: pkgs/by-name/ka/kaf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - kaf: normalized package name match | MacPorts ports tree: sysutils/kaf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/kaf: normalized package name match | Scoop official bucket manifest trees: bucket/kaf.json from https://api.github.com/repos/ScoopInstaller/Main/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.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [kcat](https://pkg.so/ja/brew/kcat/) - Shares pkgdb curated category or tags: cli, data, kafka, messaging.
- [kaskade](https://pkg.so/ja/brew/kaskade/) - Shares pkgdb curated category or tags: cli, data, kafka, messaging.
- [nsq](https://pkg.so/ja/brew/nsq/) - Shares pkgdb curated category or tags: cli, data, go, messaging.
- [activemq](https://pkg.so/ja/brew/activemq/) - 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.
- [burrow](https://pkg.so/ja/brew/burrow/) - Shares pkgdb curated category or tags: cli, data, go, kafka.
- [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/kaf.yml](https://github.com/mxcl/pkgdb/blob/main/combined/kaf.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
