Estii CLI
Official Estii command-line tool, published on npm as @estii.com/cli.
The Estii CLI is the official estii command, published on npm as
@estii.com/cli. It keeps a local
copy of your space, prices and validates a change against the same rules the app
applies, and sends the result the same way the app sends an edit, so a deal built
from a script is a deal built in Estii. Reads and reporting are also available as
plain HTTP on the API.
Install
Run it without installing anything (needs Node):
npx @estii.com/cli commandsor with bun
bunx @estii.com/cli commandsOr 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 throughout these pages 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.
Start here
estii context is the first command worth running. It reports what a deal in your
space is made of, what the space already holds to start from and reuse, which
resource an estimate binds to and in what unit, and what a change is refused for,
in your space's own words. Add a deal reference and it reports that deal's own
shape and what may be changed on it now.
estii space use acme
estii context
estii deal list --status draftThen how commands work covers the grammar every command shares, and the pages after it walk the workflows end to end.
Rather not script it
Every operation here can be done by asking an AI assistant in plain language instead. MCP server connects one to your Estii data, and Working with agents covers what to hand it.