<a id="ref-sdk-cli"></a>

# sdk (CLI)

<!-- @artefact sdk (CLI) -->

The **sdk** utility exposes the following commands,
each with its own set of options,
and also has a number of global flags:

<a id="ref-sdk-find"></a>

## sdk find

<!-- @artefact sdk find -->

Search the Store for SDKs.

### Usage

```console
$ 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:

```console
$ sdk find openvino
```

Combine multiple words into a single query:

```console
$ sdk find jupyter notebooks
```

Hide the table header in the output:

```console
$ sdk find openvino --no-headers
```

### Flags

<a id="ref-sdk-info"></a>

## sdk info

<!-- @artefact sdk info -->

Show SDK info.

### Usage

```console
$ 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:

```console
$ sdk info openvino
```

Restrict the Store channels to a specific base:

```console
$ sdk info openvino --base ubuntu@24.04
```

Show the channels for every supported architecture:

```console
$ sdk info openvino --arch all
```

### Flags

<a id="ref-sdk-list"></a>

## sdk list

<!-- @artefact sdk list -->

List SDK volumes available on this machine.

### Usage

```console
$ 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:

```console
$ sdk list
```

Hide the table header in the output:

```console
$ sdk list --no-headers
```

### Flags

<a id="ref-sdk-cli-completion"></a>

## 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:

```console
$ source <(sdk completion bash)
```

Zsh:

```console
$ source <(sdk completion zsh)
```

Fish:

```console
$ 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:

```console
$ sdk completion bash --help
```

## See also

Explanation:

- [sdk (CLI)](https://ubuntu.com/workshop/docs//explanation/sdks/sdk-cli.md#exp-sdk-cli)
