Diagnostics & Repair
Checking Version Information
Knowing which version of Crab you're running matters for compatibility checks, bug reports, and ensuring you have the latest features. crab version gives you the version string, git commit SHA, and build timestamp in one command.
Usage
crab versioncrab 0.15.0 (abc1234)
built at 2024-01-15T10:30:00ZWhen Version Matters
| Scenario | Why |
|---|---|
| Filing a bug report | Maintainers need to know the exact build |
| Compatibility check | Repository version guard may require a minimum version |
| After upgrading | Confirm the new version is active |
| CI pipelines | Log which version ran the job |
Including in Bug Reports
Pair version info with environment details for a complete picture:
crab version
crab env
crab doctorSchema Registry
The JSON output includes the schema registry — a list of all supported structured output schemas and their versions. This is useful for automation that needs to know which output formats are available:
crab version --json{
"schema": "version",
"version": "1.0",
"data": {
"crab_version": "0.15.0",
"git_sha": "abc1234",
"build_timestamp": "2026-04-24T12:00:00Z",
"schemas": {
"add": "1.0",
"du": "1.1",
"hydrate": "1.0",
"status": "1.0"
}
}
}CLI Reference
For complete command syntax and all available flags, see the crab version reference.