sdk (CLI)¶
The sdk utility exposes the following commands, each with its own set of options, and also has a number of global flags:
- -h, --help
Print the help message for the command.
- -v, --version
Print SDK CLI version.
sdk find¶
Search the Store for SDKs.
Usage
$ sdk find <QUERY> [flags]
Description
Search the Store for SDKs matching the given query. The query can match the SDK’s name, title, summary, description, or publisher.
Notes:
Only the latest release of the SDK is shown.
To view more details for one of the SDKs, use “sdk info”.
To list SDKs on the local system, use “sdk list”.
Examples
Search for SDKs matching a single keyword:
$ sdk find openvino
Combine multiple words into a single query:
$ sdk find jupyter notebooks
Hide the table header in the output:
$ sdk find openvino --no-headers
Flags
- --no-headers
Hide table headers.
sdk info¶
Show SDK info.
Usage
$ sdk info <SDK> [flags]
Description
Prints the SDK’s metadata, shows the revisions currently available in the SDK Store, and lists workshops where the SDK is installed.
Notes:
The output shows the SDK’s build date.
For an overview of SDK volumes, use “sdk list”.
For per-workshop information, use “workshop info”.
Examples
Show metadata, Store channels, and local installations for the “openvino” SDK:
$ sdk info openvino
Restrict the Store channels to a specific base:
$ sdk info openvino --base ubuntu@24.04
Show the channels for every supported architecture:
$ sdk info openvino --arch all
Flags
- --arch
Show SDKs compatible with a different architecture (or “all”).
- --base
Show SDKs compatible with a specific base.
sdk list¶
List SDK volumes available on this machine.
Usage
$ sdk list [flags]
Description
This command lists all local SDK volumes.
Use it to enumerate the SDK revisions currently stored on the system. Only volumes are reported, not the workshops that use them.
Notes:
For per-workshop information, use “workshop info”.
Multiple entries may appear for a single SDK if several revisions are present simultaneously.
Examples
List all local SDK volumes:
$ sdk list
Hide the table header in the output:
$ sdk list --no-headers
Flags
- --no-headers
Hide table headers.
Shell completion¶
The sdk CLI ships completion scripts for Bash, Zsh, and Fish.
Note
When Workshop is installed via snap, completion for Bash, Zsh, and Fish is enabled automatically for both workshop and sdk; no further configuration is needed for these shells.
To enable completion for the current shell session, source the script for your shell.
Bash:
$ source <(sdk completion bash)
Zsh:
$ source <(sdk completion zsh)
Fish:
$ sdk completion fish | source
For per-shell installation that persists across new sessions, follow the instructions printed by the shell-specific help command. For example, for Bash:
$ sdk completion bash --help
See also¶
Explanation: