CLI Commands
version
Display version information
Version Command
The version
command displays version information for the Ocuroot CLI and server.
Usage
Description
The version command shows version details including:
- CLI version
- Server version (if connected)
- Build information
- Compatible API versions
Flags
--format
: Output format (text, json)--check-update
: Check for available updates--verbose
: Show detailed version information
Examples
Output
The command displays:
- Version number
- Build timestamp
- Git commit hash
- Platform information
- API compatibility info
Related Commands
server
: Start the Ocuroot server