Ably CLI

Open in

Overview

For an overview of the Ably CLI, including installation instructions and feature highlights, see the Ably CLI page.

Global options

--json

Output results as compact, single-line NDJSON (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:

CommandDescription
ably loginLog in to your Ably account (alias for "ably accounts login")
ably accountsManage Ably accounts and your configured access tokens
ably appsManage Ably apps
ably authManage authentication, keys and tokens
ably channelsInteract with Ably Pub/Sub channels
ably roomsInteract with Ably Chat rooms
ably spacesInteract with Ably Spaces
ably queuesManage Ably Queues
ably integrationsManage Ably integrations
ably pushManage push notifications
ably logsStreaming and retrieving logs from Ably
ably statsView statistics for your Ably account or apps
ably configManage Ably CLI configuration
ably benchCommands for running benchmark tests
ably connectionsInteract with Ably Pub/Sub connections
ably supportGet support and help from Ably
ably autocompleteDisplay autocomplete installation instructions
ably envShow the reference for environment variables supported by the Ably CLI
ably statusCheck the status of the Ably service
ably versionDisplay the current version of the Ably CLI
ably helpDisplay help for ably