Installation
System Requirements
- Node.js 20 or later
- npm, pnpm, or yarn
- A terminal with shell access
Install the CLI
The Orator CLI is the primary way to interact with Orator from your terminal. Install it globally:
npm install -g @orator-dev/cliOr with pnpm:
pnpm add -g @orator-dev/cliVerify the installation:
orator --versionInstall the MCP Server
The MCP server allows AI tools like Claude to query your codebase context directly. Install it globally:
npm install -g @orator-dev/mcpOr with pnpm:
pnpm add -g @orator-dev/mcpAfter installation, see the MCP Server integration guide for configuration instructions.
Authentication
Orator requires an API key for authentication. Sign up at orator.dev and then authenticate via the CLI:
orator loginThis opens your browser, authenticates your account, and stores the API key locally. You can also set the key manually via environment variable:
export ORATOR_API_KEY=orator_your_api_key_hereNext Steps
Once installed, follow the Quickstart guide to index your first repository.