Installation
Fastest path:- npm
- Homebrew
- Binary Download
Quick Start
1
Get your API key
Go to Settings > API Keys in the Outlit dashboard. Create an API key, copy it, and keep it safe.
2
Authenticate
~/.config/outlit/credentials.json with 0600 permissions.You can also pass the key directly:3
Query your data
4
Set up AI agents (optional)
Install the Or target a specific coding agent:For MCP clients like Cursor or VS Code, use the direct MCP Integration guide instead.
outlit skill for detected coding agents with one command:Authentication
The CLI resolves your API key from the following sources, in order:Auth Commands
auth status makes a live API call to validate your key:
auth whoami validates your key and outputs a single line in TTY mode — useful for scripting:
Available Commands
Updates
In interactive terminals, the CLI checks for newer published versions using a local cache so normal commands stay fast. When an update is available, it prints a short notice to stderr and continues.outlit upgrade tries to use the same package manager that installed the CLI, such as Bun, npm, pnpm, or Yarn. Set OUTLIT_NO_UPDATE_NOTIFIER=1 to suppress automatic notices.
Output Modes
The CLI has two output modes: interactive (tables, spinners, colors) and JSON (machine-readable). JSON mode activates automatically when:- stdout is piped (
outlit customers list | jq) --jsonflag is passed- Running in CI (
CI=trueorGITHUB_ACTIONSis set) - Terminal is dumb (
TERM=dumb)
AI agents like Claude Code and Cursor run commands with piped stdout, so they automatically receive JSON output — no
--json flag needed.What’s Next
Commands
Full reference for all data commands
AI Agents
Install Outlit skills for Claude Code, Codex, Gemini CLI, Droid, OpenCode, Pi, OpenClaw, and more
Platform Actions
Inspect and safely prepare platform configuration through API, CLI, and MCP
Configuration
Environment variables and config paths