crab version
Display Crab version and build information.
Synopsis
crab version [OPTIONS]Description
crab version shows the installed Crab version, build commit, and build
timestamp.
For conceptual background, see Version Info.
Options
| Option | Default | Description |
|---|---|---|
--json | false | Emit structured JSON output |
Examples
crab versionOutput includes the installed version, the build commit, and the build timestamp. Build metadata varies by release.
crab 1.0.15 (<build commit>)
built at <UTC timestamp>Use the JSON form when a support bundle or compatibility check needs stable fields. The command is read-only and does not contact GitHub, inspect the repository, or check whether a newer release exists.
Record reproducible version evidence
Capture crab version alongside a failing command and its environment report:
crab version --json
crab env --jsonThe semantic version identifies the release contract. The build commit and timestamp distinguish official builds from locally rebuilt binaries that share the same package version. When comparing two machines, verify the command path as well as the printed version if different installations may be present.
Use crab upgrade to contact the release
source and install a newer stable version when one exists. Keep crab version
in incident evidence because a later upgrade can change command syntax, output
schemas, and supported storage behavior.
Related commands
crab env: inspect environment information.crab doctor: run health checks.