version
Outputs the current version of the Spice CLI and runtime
Usage​
spice version [flags]
Flags​
--cli-onlyShow only the CLI version, skipping the runtime version lookup-o,--output <format>Output format:table(default) orjson.-h,--helphelp for version
Sample output​
Upgrade available:
> spice version
CLI version: v1.0.6
Runtime version: v1.0.6+models
CLI version v1.1.0 is now available!
To upgrade, run "spice upgrade".
Learn more about upgrading the Spice CLI and runtime using spice upgrade here.
Latest Version:
> spice version
CLI version: v1.1.0
Runtime version: v1.1.0+models
For a runtime outside the managed install, the output also includes its path and source:
> spice version
CLI version: v1.1.0
Runtime version: v1.1.0+models
Runtime path: /usr/local/bin/spiced (beside the spice CLI)
JSON output includes runtime_path and runtime_source, following the same runtime selection rules.
