Skip to content

sm version

Print version, build, and platform info.

Synopsis

sm version
sm --version    # short form: just the version string

Example output

stac-man v2.0.0
  Built:    2026-04-15T11:32:01Z
  Go:       go1.25
  Platform: darwin/arm64
  Config:   /Users/me/.config/stac-man/config.yaml

What's reported

LineSource
VersionEmbedded at release time via -X main.Version=… ldflags. Reads dev for local builds.
BuiltEmbedded BuildTime (ISO-8601 UTC).
Goruntime.Version() of the binary.
PlatformGOOS/GOARCH of the binary.
ConfigResolved path of ~/.config/stac-man/config.yaml (whether or not the file exists).

See also

Released under a license that is currently TBD.