# Ably CLI ## Overview For an overview of the Ably CLI, including [installation instructions](https://ably.com/docs/platform/tools/cli.md?source=llms.txt#installation) and [feature highlights](https://ably.com/docs/platform/tools/cli.md?source=llms.txt#feature-set), see the [Ably CLI](https://ably.com/docs/platform/tools/cli.md?source=llms.txt) page. ## Global options ### `--json` Output results as compact, single-line [NDJSON](https://github.com/ndjson/ndjson-spec) (Newline Delimited JSON). Each line is a self-contained JSON object, making it suitable for programmatic usage and piping into tools such as `jq`. Mutually exclusive with `--pretty-json`. ### `--pretty-json` Output results in colorized, pretty-printed JSON format for human-readable inspection. Mutually exclusive with `--json`. ### `--verbose | -v` Enable verbose logging. Can be combined with `--json` or `--pretty-json`. ## Commands The following top-level commands are available in the Ably CLI: | Command | Description | | ------- | ----------- | | [`ably init`](https://ably.com/docs/cli/init.md?source=llms.txt) | Install the CLI, authenticate, and install [Agent Skills](https://github.com/ably/agent-skills) | | [`ably login`](https://ably.com/docs/cli/login.md?source=llms.txt) | Log in to your Ably account (alias for "ably accounts login") | | [`ably accounts`](https://ably.com/docs/cli/accounts.md?source=llms.txt) | Manage Ably accounts and your configured access tokens | | [`ably apps`](https://ably.com/docs/cli/apps.md?source=llms.txt) | Manage Ably apps | | [`ably auth`](https://ably.com/docs/cli/auth.md?source=llms.txt) | Manage authentication, keys and tokens | | [`ably channels`](https://ably.com/docs/cli/channels.md?source=llms.txt) | Interact with Ably Pub/Sub channels | | [`ably rooms`](https://ably.com/docs/cli/rooms.md?source=llms.txt) | Interact with Ably Chat rooms | | [`ably spaces`](https://ably.com/docs/cli/spaces.md?source=llms.txt) | Interact with Ably Spaces | | [`ably queues`](https://ably.com/docs/cli/queues.md?source=llms.txt) | Manage Ably Queues | | [`ably integrations`](https://ably.com/docs/cli/integrations.md?source=llms.txt) | Manage Ably integrations | | [`ably push`](https://ably.com/docs/cli/push.md?source=llms.txt) | Manage push notifications | | [`ably logs`](https://ably.com/docs/cli/logs.md?source=llms.txt) | Streaming and retrieving logs from Ably | | [`ably stats`](https://ably.com/docs/cli/stats.md?source=llms.txt) | View statistics for your Ably account or apps | | [`ably config`](https://ably.com/docs/cli/config.md?source=llms.txt) | Manage Ably CLI configuration | | [`ably bench`](https://ably.com/docs/cli/bench.md?source=llms.txt) | Commands for running benchmark tests | | [`ably connections`](https://ably.com/docs/cli/connections.md?source=llms.txt) | Interact with Ably Pub/Sub connections | | [`ably support`](https://ably.com/docs/cli/support.md?source=llms.txt) | Get support and help from Ably | | [`ably autocomplete`](https://ably.com/docs/cli/autocomplete.md?source=llms.txt) | Display autocomplete installation instructions | | [`ably env`](https://ably.com/docs/cli/env.md?source=llms.txt) | Show the reference for environment variables supported by the Ably CLI | | [`ably status`](https://ably.com/docs/cli/status.md?source=llms.txt) | Check the status of the Ably service | | [`ably version`](https://ably.com/docs/cli/version.md?source=llms.txt) | Display the current version of the Ably CLI | | [`ably help`](https://ably.com/docs/cli/help.md?source=llms.txt) | Display help for ably | ## Related Topics - [Init](https://ably.com/docs/cli/init.md?source=llms.txt): Set up the Ably CLI in a single command: install, authenticate, and install Agent Skills into AI coding tools. - [Login](https://ably.com/docs/cli/login.md?source=llms.txt): Log in to your Ably account using the CLI. - [Autocomplete](https://ably.com/docs/cli/autocomplete.md?source=llms.txt): Display autocomplete installation instructions for the Ably CLI. - [Env](https://ably.com/docs/cli/env.md?source=llms.txt): Show the reference for environment variables supported by the Ably CLI. - [Status](https://ably.com/docs/cli/status.md?source=llms.txt): Check the status of Ably services using the CLI. - [Version](https://ably.com/docs/cli/version.md?source=llms.txt): Display the version of the Ably CLI. - [Help](https://ably.com/docs/cli/help.md?source=llms.txt): Display help information for Ably CLI commands. ## Documentation Index To discover additional Ably documentation: 1. Fetch [llms.txt](https://ably.com/llms.txt?source=llms.txt) for the canonical list of available pages. 2. Identify relevant URLs from that index. 3. Fetch target pages as needed. Avoid using assumed or outdated documentation paths.