> For the complete documentation index, see [llms.txt](https://docs.tryterra.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tryterra.co/developer-tools/terra-cli.md).

# Terra CLI

- [Overview](https://docs.tryterra.co/developer-tools/terra-cli/terra-cli.md): Set up, manage, and debug your Terra integration from the terminal.
- [Installation](https://docs.tryterra.co/developer-tools/terra-cli/installation.md): Install the Terra CLI with Homebrew or npm, keep it up to date, and set up shell completion.
- [Authentication](https://docs.tryterra.co/developer-tools/terra-cli/authentication.md): Log in to the Terra CLI interactively, from CI, or without a browser, and manage the token it stores.
- [Ask the docs](https://docs.tryterra.co/developer-tools/terra-cli/ask.md): Ask a question about Terra from the terminal and get an answer from the documentation, with the pages it came from.
- [Configuration](https://docs.tryterra.co/developer-tools/terra-cli/configuration.md): How the Terra CLI resolves settings, picks an environment, and uses profiles and environment variables.
- [Output and scripting](https://docs.tryterra.co/developer-tools/terra-cli/output-and-scripting.md): Output formats, field selection, jq filtering, pagination, exit codes, and how to debug a failing Terra CLI command.
- [Guardrails](https://docs.tryterra.co/developer-tools/terra-cli/guardrails.md): The dry run, secret gating, confirmation prompts, idempotency keys, and retry rules that make the Terra CLI safe against production.
- [Raw API requests](https://docs.tryterra.co/developer-tools/terra-cli/raw-requests.md): Reach any Terra admin API or data API endpoint by path with terra api and terra data-api.
- [Coding agents](https://docs.tryterra.co/developer-tools/terra-cli/coding-agents.md): Give a coding agent the Terra CLI so it can configure and debug your integration instead of asking you to click through the dashboard.
- [Command reference](https://docs.tryterra.co/developer-tools/terra-cli/command-reference.md): Every Terra CLI command group, the flags all commands share, and how to print the full reference from the CLI.
