Installation
The CLI is included in the DarkDuck package. Use it via npx or pnpm:Global Options
All commands support:| Flag | Description |
|---|---|
--data-dir <path> | Local DarkDuck data root (isolates from ~/.darkduck) |
--api-base <url> | API base URL |
--api-key <token> | API authentication token |
--context <path> | Context file path |
--profile <name> | Context profile name |
--json | Output as JSON |
--company-id <id>.
Context Profiles
Store defaults to avoid repeating flags:~/.darkduck/context.json.
Isolated Instances
For clean local instances, pass--data-dir on the command you run:
~/.darkduck.
Command Categories
The CLI has two categories:- Setup commands — instance bootstrap, diagnostics, configuration
- Control-plane commands — issues, agents, approvals, activity
Setup Commands
Onboard, run, doctor, and configure
Control-Plane Commands
Issue, agent, approval, and dashboard operations