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
| Flag | Type | Environment variable | Default | Required | Description |
|---|---|---|---|---|---|
-o, --output | string | — | text | No | The format to show the results. Allowable values: text, json. See Output Formats. |