Skip to main content

Usage

dokrypt version

Description

Displays the Dokrypt version, build commit hash, build date, Go runtime version, and OS/architecture.

Example Output

dokrypt version 1.0.0
  commit:  abc1234
  built:   2025-01-15T10:30:00Z
  go:      go1.24.0
  os/arch: linux/amd64

Version Variables

The version information is embedded at build time via Go linker flags:
VariableDescription
VersionGit tag or “dev”
CommitShort commit hash
DateBuild timestamp (UTC)