@inbox-zero/api, and the executable name is inbox-zero-api.
Run with npx
Requires Node.js18+.
Configure access
The CLI reads configuration in this order:- Command flags
- Environment variables
~/.inbox-zero-api/config.json
INBOX_ZERO_API_KEYINBOX_ZERO_BASE_URLfor self-hosted or custom API deployments
base-url is optional. The CLI defaults to https://www.getinboxzero.com and only needs an override for self-hosted or custom deployments.
Set INBOX_ZERO_API_KEY in your shell or secret manager before running commands. Avoid passing API keys as CLI arguments because they can leak into shell history and process listings.
Common commands
List rules:--json so the output is stable and machine-readable.