trak
CLI Commands/version

trak version

Displays active CLI build version, compilation timestamp, Go runtime, and connected registry source.

$ trak version

Command Overview

Useful for diagnosing environment issues, checking for updates, and verifying compatibility.

Execution Lifecycle

1
Reads embedded compile-time variables (Version, BuildDate, GitCommit)
2
Queries runtime.Version() for Go compiler specifications
3
Detects host runtime.GOOS and runtime.GOARCH (e.g. windows/amd64, darwin/arm64)
4
Renders styled ASCII version card to stdout

Available Flags

-h, --helpType: boolean • Default: false

Show version command help.

Usage Examples

Display Version Information
$trak version

Prints version card with runtime and registry info.