Config path

Open in

Use the ably config path command to print the path to the Ably CLI config file.

Synopsis

ably config path

Options

--json

Output results as compact JSON. Mutually exclusive with --pretty-json.

--pretty-json

Output results in formatted JSON. Mutually exclusive with --json.

--verbose | -v

Enable verbose logging. Can be combined with --json or --pretty-json.

Examples

Print the config file path:

ably config path

Open the config file in VS Code:

code $(ably config path)

Open the config file in Vim:

vim $(ably config path)

Print the config file path in JSON format:

ably config path --json

See also

  • Config — Explore all ably config commands.
  • CLI reference — Full list of available commands.