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 specifications3
Detects host runtime.GOOS and runtime.GOARCH (e.g. windows/amd64, darwin/arm64)4
Renders styled ASCII version card to stdoutAvailable 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.
Important Technical Guidelines
Diagnostics & Support
Always include the output of 'trak version' when reporting CLI issues or filing GitHub bug reports.
Frequently Asked Questions (FAQ)
Q:How do I upgrade Trak to the latest version?
Re-run the one-line installation command from the Quickstart guide, or run 'go install github.com/ndk123-web/trak@latest'.