$ barca versionbarca 0.42.0
barca version
barca --version prints the same. Neither takes --json.
barca --version
--json
All commands · Output format · Errors and exit codes