# CLI reference

Source: https://docs.elnora.ai/docs/cli
Last modified: 2026-09-08T22:35:25-06:00

> Install the elnora CLI, authenticate, and explore every command — generated from the CLI's own command registry.

The `elnora` CLI gives you scriptable access to the Elnora platform. It ships
**109 commands** across **16 groups** (plus standalone
utilities below). Every page here is generated directly from the CLI's command
registry, so it always matches the installed version.

## Install

```bash
npm install -g @elnora-ai/cli
# or: brew install elnora-ai/tap/elnora
```

## Authenticate

```bash
elnora auth login
```

## Global flags

These apply to every command:

| Flag | Description |
| --- | --- |
| `--output <format>` | Output format (e.g. `json`, `table`). |
| `--json` | Shorthand for `--output json`. |
| `--compact` | Compact output. |
| `--fields <list>` | Limit output to specific fields. |
| `--profile <name>` | Use a named auth profile. |

## Utility commands

| Command | Description |
| --- | --- |
| `elnora setup` | Interactive first-time setup. |
| `elnora doctor` | Diagnose your environment and auth. |
| `elnora whoami` | Show the current authenticated identity. |
| `elnora open` | Open Elnora resources in the browser. |
| `elnora mcp` | Run the local MCP server. |
| `elnora update` | Update the CLI to the latest version. |
| `elnora completion` | Generate shell completions. |

## Command groups

- [`account`](https://docs.elnora.ai/docs/cli/account) — Manage your account profile and legal agreements.
- [`api-keys`](https://docs.elnora.ai/docs/cli/api-keys) — Create, list, and revoke API keys for programmatic access.
- [`audit`](https://docs.elnora.ai/docs/cli/audit) — Read your organization's audit log.
- [`auth`](https://docs.elnora.ai/docs/cli/auth) — Authenticate the CLI and manage profiles (CLI-only).
- [`feedback`](https://docs.elnora.ai/docs/cli/feedback) — Submit product feedback.
- [`files`](https://docs.elnora.ai/docs/cli/files) — Upload, manage, and organize workspace files.
- [`flags`](https://docs.elnora.ai/docs/cli/flags) — Read feature flags.
- [`folders`](https://docs.elnora.ai/docs/cli/folders) — Create and manage folders.
- [`health`](https://docs.elnora.ai/docs/cli/health) — Check platform and service health.
- [`library`](https://docs.elnora.ai/docs/cli/library) — Manage your organization's shared library.
- [`orgs`](https://docs.elnora.ai/docs/cli/orgs) — Manage organizations, members, and invitations.
- [`projects`](https://docs.elnora.ai/docs/cli/projects) — Create and manage projects and their members.
- [`protocols`](https://docs.elnora.ai/docs/cli/protocols) — Generate and optimize bioprotocols.
- [`review`](https://docs.elnora.ai/docs/cli/review) — Approve or reject Knowledge Base auto-tidy proposals.
- [`search`](https://docs.elnora.ai/docs/cli/search) — Search across your knowledge base and content.
- [`tasks`](https://docs.elnora.ai/docs/cli/tasks) — Drive the Elnora agent — create tasks and exchange messages.

> Most of these operations are also available over the hosted MCP server. See **MCP & integrations** for the tool catalog and connection steps.
