anchorectl version

Show anchorectl version information.

Every command on this page also accepts the global flags.

anchorectl version [flags]

Examples

# Print just the version string; works only as a root flag
anchorectl --version

# Full build detail: Syft version, build date, commit, and platform
anchorectl version

# Machine-readable. ANCHORECTL_FORMAT is ignored here, so pass the flag explicitly
anchorectl version --output json

Flags

FlagTypeEnvironment variableDefaultRequiredDescription
-o, --outputstringtextNoThe format to show the results. Allowable values: text, json. See Output Formats.
Last modified September 22, 2026