HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

crane version — Print the version of a binary. The version string is completely dependent on how the binary was buil

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandcrane versioncliprintbinaryversion

Problem

How to use the crane version command: Print the version of a binary. The version string is completely dependent on how the binary was built, so you should not depend on the version format. It may change without notice. More information: <https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane_version.md>.

Solution

crane version — Print the version of a binary. The version string is completely dependent on how the binary was built, so you should not depend on the version format. It may change without notice. More information: <https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane_version.md>.

Display version:
crane version


Display help:
crane version {{[-h|--help]}}

Code Snippets

Display version

crane version

Display help

crane version {{[-h|--help]}}

Context

tldr-pages: common/crane version

Revisions (0)

No revisions yet.