version
rai version [OPTIONS]Show the installed rai version.
By default prints the terse rai <version> one-liner — the same
thing rai --version shows. Pass --verbose / -v for the
full diagnostics block (RAI components, Python runtime, install path,
executable) suitable for bug reports.
Honors --json / --output yaml to emit a {"version": {...}}
envelope for scripts; machine-readable output always includes the
full payload regardless of --verbose.
Examples: rai version rai version —verbose rai version -v rai version —output json rai —output yaml version
Options
Section titled “Options”| Option | Type | Description |
|---|---|---|
--verbose, -v | Boolean | Show Python runtime, install path, and dependency versions. Default: False. |