version CLI command reference

Print Dapr runtime and CLI version.

Description

Print the version for dapr CLI and daprd executables either in normal or JSON formats.

Supported platforms

Usage

  1. dapr version [flags]

Flags

NameEnvironment VariableDefaultDescription
—help, -hPrint this help message
—output, -oOutput format (options: json)

Examples

  1. # Version for Dapr CLI and runtime
  2. dapr version --output json

You can get daprd version directly by invoking daprd --version command.

You can also get the normal version output by running dapr --version flag.

Last modified June 29, 2022: Update daprdocs/content/en/reference/cli/dapr-version.md (199f2c07)