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

# Install

One npm install (or brew) to get the rogeriq CLI on your machine.

# Install the CLI

`@rogeriq/cli` is the official command-line tool for RogerIQ. Zero
dependencies, single-file ESM bundle (~90 KB). Runs on Node 18+.

```bash npm
npm install -g @rogeriq/cli
```

```bash Homebrew
brew install rogeriq/tap/rogeriq
```

```bash npx
npx @rogeriq/cli --help
```

Both `rogeriq` and the OpenAPI spec at
[`api.rogeriq.com/api/v1/openapi.json`](https://api.rogeriq.com/api/v1/openapi.json)
target the same v1 endpoints. Anything the CLI does, your code can too.

## Verify

```bash
rogeriq --version
# rogeriq 0.3.0
```

## What's next

**[Authenticate](/cli/auth)**

Browser-based login (device flow) or API key for CI.
  **[Quickstart](/cli/quickstart)**

Triage your inbox, reply to tickets, search the KB, all from the terminal.
  **[MCP Server](/cli/mcp)**

`rogeriq mcp` exposes the API as MCP tools for Claude Desktop / Claude Code.
  **[For AI agents](/cli/agents)**

`--json`, env vars, exit codes, common workflows.

## Update

```bash
npm update -g @rogeriq/cli
# or
brew upgrade rogeriq
```

## Uninstall

```bash
npm uninstall -g @rogeriq/cli
# or
brew uninstall rogeriq
```

`rogeriq auth logout` clears the saved API key at `~/.rogeriq/config.json`.