# studio

Launch the local web UI for browsing and driving the cluster

Package: @cookiemonsterdev/kafka-cli 1.12.1
Canonical: https://cookiemonsterdev.github.io/kafka/docs/cli/reference/commands/studio/
Source revision: b112a684d2b3cdc7deadb3513041fcdbdc1c18b5

<!-- Generated by scripts/generate-cli-docs.mjs. Do not edit by hand. -->

```sh
kafka studio
```

Launch the local web UI for browsing and driving the cluster

Shared options and defaults: [connection profiles, JSON output, logging and help](https://cookiemonsterdev.github.io/kafka/docs/cli/reference/global-options/).

## Defaults

Starts the local Studio server; install the Studio package alongside the CLI. Bind/port/browser defaults are documented by kafka-studio --help.

## Flags

| Flag                  | Description                                               |
| --------------------- | --------------------------------------------------------- |
| `-p, --port <number>` | port to listen on (default: first free port in 5757-5807) |
| `--host <string>`     | address to bind (default: 127.0.0.1)                      |
| `--browser <string>`  | browser command to open, or "none" to disable             |
| `--read-only`         | reject mutating API requests with 403                     |

## Examples

```sh
kafka studio
kafka studio --read-only
kafka studio --port 5757 --browser none
```

## Output

Illustrative, abbreviated output. Empty arrays show the result envelope; actual entries, identifiers, optional fields and broker errors depend on the request and cluster.

```text
Kafka Studio: http://127.0.0.1:5757/#<session-token>
```

Declared exit codes: `0`, `1`, `2`. See the exit-code reference for meanings.

## Related commands

[Browse the command group](https://cookiemonsterdev.github.io/kafka/docs/cli/reference/commands/#general) · [Exit codes](https://cookiemonsterdev.github.io/kafka/docs/cli/reference/exit-codes/)
