# Introduction

A command-line admin client for Apache Kafka

Package: @cookiemonsterdev/kafka-cli 1.12.1
Canonical: https://cookiemonsterdev.github.io/kafka/docs/cli/start/introduction/
Source revision: b112a684d2b3cdc7deadb3513041fcdbdc1c18b5

`@cookiemonsterdev/kafka-cli` is a command-line admin client for Apache Kafka, built on
[`@cookiemonsterdev/kafka-core`](https://cookiemonsterdev.github.io/kafka/docs/core/start/introduction/): `kafka topic list`,
`kafka group describe`, `kafka acl add`, and the rest of the broker admin surface, runnable with
`npx`/`pnpm dlx` or installed globally.

It covers **admin operations only** for the 1.x line — creating and inspecting topics, consumer
groups, ACLs, configs, quotas, transactions, and cluster state. It does not produce or consume
messages (`kafka-console-producer.sh`/`kafka-console-consumer.sh` have no equivalent here).

Every command that connects reads its brokers from an explicit `--brokers` flag, a `kafka.config.*`
file, or a named profile — see [Configuration](https://cookiemonsterdev.github.io/kafka/docs/cli/guides/configuration/). Output is human-
readable by default, or one JSON document on stdout with `--json` — see
[Output and scripting with JSON](https://cookiemonsterdev.github.io/kafka/docs/cli/guides/output-and-scripting/).

This site documents the command surface. The package lives in
[`packages/cli`](https://github.com/cookieMonsterDev/kafka/tree/develop/packages/cli); this Astro
site is `packages/docs`.

Next: [Installation](https://cookiemonsterdev.github.io/kafka/docs/cli/start/installation/), [Getting started](https://cookiemonsterdev.github.io/kafka/docs/cli/start/getting-started/),
[Command reference](https://cookiemonsterdev.github.io/kafka/docs/cli/reference/commands/), [Exit codes](https://cookiemonsterdev.github.io/kafka/docs/cli/reference/exit-codes/).

## Coming from the shell scripts

Already know `kafka-topics.sh`, `kafka-consumer-groups.sh`, or the rest of the scripts shipped in
an Apache Kafka distribution? See
[Migrating from the Kafka shell scripts](https://github.com/cookieMonsterDev/kafka/blob/develop/packages/cli/docs/migrating-from-shell-scripts.md)
for a flag-by-flag map to the equivalent `kafka` command.
