Dapr CLI is a command-line development utility designed to install, configure, and manage the Distributed Application Runtime for building distributed applications. Written in Go, it supports local self-hosted environments and Kubernetes deployments. Initialization commands install runtime components and generate default configuration files. Developers can execute applications alongside Dapr sidecars with customizable communication ports and resource settings. Integrated commands support service invocation and publishing messages through configured publish-subscribe components. Workflow management tools enable starting and inspecting distributed workflow executions. Diagnostic functionality provides access to runtime logs, component configurations, and deployment status. Dapr CLI supports Windows, macOS, and Linux.
Features
- Automated Dapr runtime installation and initialization for local development environments and Kubernetes clusters
- Application execution alongside configurable Dapr sidecars with customizable ports and resource configurations
- Integrated service invocation and publish-subscribe messaging commands for testing distributed application interactions
- Distributed workflow management with execution initiation, status inspection, and lifecycle control
- Runtime diagnostics with application log retrieval, component inspection, and configuration management
- Kubernetes administration with runtime upgrades, deployment status monitoring, and mutual TLS configuration inspection