View Version Details

To view version details for a specific cockroach binary, run the cockroach version command:

  1. $ cockroach version
  1. Build Tag: v19.1.0
  2. Build Time: 2019/04/30 14:48:26 (go1.11.6)
  3. Distribution: CCL
  4. Platform: darwin amd64
  5. Go Version: go1.8.3
  6. C Compiler: 4.2.1 Compatible Clang 3.8.0 (tags/RELEASE_380/final)
  7. Build SHA-1: 5b757262d33d814bda1deb2af20161a1f7749df3
  8. Build Type: release

The cockroach version command outputs the following fields:

FieldDescription
Build TagThe CockroachDB version.
Build TimeThe date and time when the binary was built.
DistributionThe scope of the binary. If CCL, the binary contains open-source and enterprise functionality covered by the CockroachDB Community License. If OSS, the binary contains only open-source functionality.To obtain a pure open-source binary, you must build from source using the make buildoss command.
PlatformThe platform that the binary can run on.
Go VersionThe version of Go in which the source code is written.
C CompilerThe C compiler used to build the binary.
Build SHA-1The SHA-1 hash of the commit used to build the binary.
Build TypeThe type of release. If release, release-gnu, or release-musl, the binary is for a production release. If development, the binary is for a testing release.

See also

Was this page helpful?
YesNo