Use the ably config path command to print the path to the Ably CLI config file.
Synopsis
ably config pathOptions
--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 pathOpen 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 --jsonSee also
- Config — Explore all
ably configcommands. - CLI reference — Full list of available commands.