> ## Documentation Index
> Fetch the complete documentation index at: https://docs.helix-db.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CLI command reference

> Commands supported by the Helix CLI

<div className="flex flex-wrap gap-2"><Badge color="gray" size="sm">Reference</Badge></div>

Cloud commands authenticate only with the WorkOS session created by `helix auth login`.
They never accept or store application database keys or service credentials.

| Command                                                                 | Scope        | Purpose                                        |
| ----------------------------------------------------------------------- | ------------ | ---------------------------------------------- |
| [`helix auth`](/cli/command-reference/auth)                             | Cloud        | Login, inspect, or revoke the WorkOS session   |
| [`helix init`](/cli/command-reference/init)                             | Local, Cloud | Create a project and link an instance          |
| [`helix add`](/cli/command-reference/add)                               | Local, Cloud | Add an instance to `helix.toml`                |
| [`helix query`](/cli/command-reference/query)                           | Local, Cloud | Execute one v3 JSON/SDK query                  |
| [`helix shell`](/cli/command-reference/shell)                           | Local, Cloud | Execute line-oriented v3 JSON queries          |
| [`helix status`](/cli/command-reference/status)                         | Local, Cloud | Inspect runtime or database status             |
| [`helix logs`](/cli/command-reference/logs)                             | Local, Cloud | Follow local logs or list Cloud query errors   |
| [`helix workspace`](/cli/command-reference/workspace)                   | Cloud        | List or get workspaces; no global selection    |
| [`helix project`](/cli/command-reference/project)                       | Cloud        | List, get, create, delete, or link a project   |
| [`helix cluster`](/cli/command-reference/cluster)                       | Cloud        | List/get dedicated clusters and active indexes |
| [`helix database`](/cli/command-reference/database)                     | Cloud        | Manage tenants, indexes, and application keys  |
| [`helix service-credential`](/cli/command-reference/service-credential) | Cloud        | Manage workspace-owned headless credentials    |
| [`helix api`](/cli/command-reference/api)                               | Cloud        | Call an authenticated `/v1/...` WFE endpoint   |
| `helix start`, `stop`, `restart`, `prune`, `delete`                     | Local        | Manage local instances and local configuration |
| `helix chef`, `skills`, `metrics`, `feedback`, `update`                 | Local CLI    | Scaffolding and CLI utilities                  |

`push`, `sync`, `auth create-key`, `workspace switch`, and `project update` are not commands.
Cloud resource lifecycle is exposed only where documented above.
