CLI
The official Ivorleaf CLI is available on npm. It requires Node.js 20 or newer.
npm install -g ivorleaf
ivorleaf init
ivorleaf init prompts for your API key, validates it, and stores it locally with user-only permissions. Never paste a key into a shell command or commit the CLI configuration file.
Create a Technical Session and inspect it:
ivorleaf explore "Review the production readiness of a containerized API deployment"
ivorleaf sources
ivorleaf status
The CLI keeps the returned session active, so ivorleaf recommend, ivorleaf continue, and artifact commands can reuse it. Run ivorleaf help for the current command list. If your issued key restricts allowed_clients, confirm that cli is allowed; CLI requests send X-Ivorleaf-Client: cli.