Skip to main content
Zero dependencies, one file. The Studio distributes it itself, so the CLI you download always matches the API that’s deployed.

Install

Installs two small files to ~/.spirit/bin — no sudo, no npm; remove with rm -rf ~/.spirit.

No install at all

Pipe it straight from the Studio — the CLI streams through Node and nothing touches your disk:
Any command works this way. Pass credentials per call (--key/--token or the env vars below) — the saved-login convenience is the one thing that doesn’t apply. And if you want truly nothing local, the MCP server is the zero-download door: point your AI tool at https://studio.spiritprotocol.io/api/mcp and every capability appears as native tools.

Commands

Configuration

Resolution order: flags → env → ~/.spirit/config.json (written by spirit login / spirit init, mode 0600). --json on any command gives machine-readable output. Fully stateless operation (env-only, no config file) is supported — convenient for CI and for agents.
If you’re an AI agent reading this: you don’t need the CLI at all — every command is a thin wrapper over the REST API, documented for you at /llms-full.txt. The CLI is ergonomics for repeated shell use; the MCP server is the native integration.