CLI
Run every Estii API operation from your terminal with the estii CLI.
The estii CLI is built on the same API, so anything you can script
you can also do by hand.
Install
Run it without installing anything (needs Node):
npx @estii.com/cli deal list
# or with bun
bunx @estii.com/cli deal listOr install it so estii is on your PATH:
npm i -g @estii.com/cli
# or
bun add -g @estii.com/cliOn macOS and Linux you can also use the install script:
curl -fsSL https://dl.estii.com/install.sh | shConfirm it with estii version. The examples below assume estii is installed; if
you are running through npx, prefix each command with npx @estii.com/cli.
Sign in
Sign in once and the CLI keeps your session:
estii auth loginThis opens your browser to confirm the sign-in, then stores the session locally.
Check it any time with estii auth status, and sign out with estii auth logout.
Use a token instead
If you would rather use a token, set ESTII_TOKEN to a personal access token and
the CLI uses it without signing in:
export ESTII_TOKEN=estp_your_tokenSee API keys to create one.
Read and update your data
Either way, you can then read and update your data:
estii space list
estii deal list --space your-space
estii deal show <deal-id>Add --json to any command for machine-readable output.
See all commands
estii --help lists every command. Add a command name for its options and
subcommands:
estii --help
estii deal --helpFor the full catalogue as JSON, handy for scripting or feeding to an agent:
estii commandsUse it with an AI agent
The CLI doubles as an MCP server, so an AI agent can drive Estii for you. See MCP Server to wire it into Claude Code, Codex, or another client.