@zima-labs/cli
v0.1.0
Published
Zima CLI — audit, monitor, and manage your Zima workspace
Readme
zima-cli
Audit, monitor, and manage your Zima workspace from the command line.
Install
npm install -g zima-cliAuthentication
Most commands need a Zima API key. Set it via environment variable:
export ZIMA_API_KEY=zima-...Get your key from https://zima.chat/dashboard/api-keys
Commands
zima config
Interactive security toggle manager. Arrow keys to navigate, space/enter to toggle, q to quit.
zima config
zima config --toggle zdr-enforcement onToggles: prompt-injection-guard, zdr-enforcement, oss-first-routing, audit-log-export
zima models
Interactive model switcher. Shows OSS and ZDR status for each model.
zima modelszima audit
Security posture dashboard — encrypted %, OSS %, model/provider breakdown, recent activity, anomaly detection.
zima audit
zima audit --range 1d
zima audit --range 30d --breakdown providerzima tail
Live stream of inference requests as they happen.
zima tail
zima tail --filter encrypted
zima tail --filter blockedzima scan
Scan a local repo for direct AI provider calls (OpenAI, Anthropic, etc.) and ZDR risk. No API key required.
zima scan
zima scan ./my-repo
zima scan --output jsonEnvironment Variables
ZIMA_API_KEY— your Zima API key (required foraudit,models,tail)ZIMA_API_URL— override the API base URL (default:https://zima.chat)
