Command Reference
Complete reference of all dz CLI commands, subcommands, and flags.
Command Reference
Complete reference for every dz command. For detailed usage and examples, see the individual pages linked in each section.
Global Flags
Available on every command:
| Flag | Short | Default | Description |
|---|---|---|---|
--verbose | -v | false | Enable debug output |
--no-color | false | Disable color output | |
--output | -o | pretty | Output format: pretty, plain, json |
--token | DevZero PAT token |
Command Tree
dz
├── version Print CLI version
├── doctor Check environment readiness
├── auth Manage authentication
│ ├── login Authenticate (browser or --token)
│ ├── status Show auth status
│ └── logout Remove saved credentials
├── install Install operators
│ ├── read Install READ operator (zxporter)
│ ├── write Install WRITE operator (dakr)
│ ├── security Install SECURITY operator
│ ├── network Install NETWORK operator
│ ├── node Install NODE operator (dzkarp)
│ └── cost Install COST operator (trezr)
├── uninstall Remove operators
│ ├── all Remove all operators + cleanup
│ ├── read Remove READ operator
│ ├── write Remove WRITE operator
│ ├── security Remove SECURITY operator
│ ├── network Remove NETWORK operator
│ └── node Remove NODE operator
├── disconnect Remove all operators (= uninstall all)
├── delete Permanently delete cluster + all data
├── cluster Manage connected clusters
│ ├── list List connected clusters
│ └── get <name> Show cluster dashboard
├── analyze-cluster Analyze utilization & estimate savings
├── status Check operator health
├── upgrade [operator] Check for operator updates
├── workloads Inspect workloads
│ ├── list List workloads in a cluster
│ └── get <name> Show workload details
├── recs (recommendations) Manage recommendations
│ ├── list List recommendations
│ ├── applied Show applied recommendations
│ ├── pending Show pending recommendations
│ ├── get <name> Show recommendation details
│ └── apply <name> Apply a recommendation
├── diagnose <operator> Show operator pod status/logs/events
├── events List recent Kubernetes events
├── health [workload] Show container health issues
├── nodes Inspect cluster nodes
│ ├── list List nodes by node group
│ └── get <node-name> Show single node details
└── mcp Manage MCP server for AI IDEs
├── setup Register MCP server in IDE
└── status Check MCP server health