rk version
Summary
Print the @roku-sdk/tooling version.
Description
rk version, rk --version and rk -v all print the @roku-sdk/tooling version. The command is intercepted before the logo and server discovery, so stdout is exactly the version and safe to capture in a script. Other arguments, including --help, are ignored.
Usage
rk version [options]
rk --version [options]
rk -v [options]Options
| Flag | Value/type | Required |
|---|---|---|
--json | boolean | no |
--where | boolean | no |
--json
Print JSON, {"version":"..."}. With --where the object also carries the install kind and path.
--where
Also print how it was installed (npm registry, npx/dlx temporary copy, or local build) and its path.
Examples
rk version --where
rk version --jsonUpdated about 3 hours ago
Did this page help you?