LinuxCommandLibrary

crane-version

Display the Crane CLI version

TLDR

Display version

$ crane version
copy

Display help
$ crane version [[-h|--help]]
copy

SYNOPSIS

crane version

DESCRIPTION

The `crane version` command displays the version and build information of the Crane tool. This information is useful for debugging, reporting issues, and ensuring compatibility. It provides details about the Crane binary you are using, including the version number, the Git commit hash it was built from, and other build-related details.

Knowing the Crane version can be essential when collaborating on projects using Crane or seeking support from the Crane community. It helps to accurately identify the specific version of the tool being used, making it easier to reproduce issues, share configurations, and understand potential compatibility constraints. The output is typically in a human-readable format, but may also be used programmatically. This command assists in version control, and it allows you to track what code base that crane version was based on.

CAVEATS

The exact output format of `crane version` might vary slightly between different versions of Crane.

EXAMPLE USAGE

Running `crane version` typically outputs a multi-line block containing the version, commit hash, and build date. For example: crane version Output example:
Version: v0.10.0 Commit: abcdef1234567890abcdef1234567890 Date: 2023-10-26T12:00:00Z

TROUBLESHOOTING

If `crane version` does not produce any output or throws an error, it might indicate a corrupted or incomplete Crane installation. Verify your installation and try again.

HISTORY

Crane is a relatively new tool in the cloud native ecosystem. `crane version` command was likely created since the initial commits and versions of the Crane tool was released, because it is crucial to be able to identify the version. The command would have been considered crucial for development, debugging and reporting since it was first made available.

SEE ALSO

crane(1)

Copied to clipboard