> For the complete documentation index, see [llms.txt](https://docs.weka.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.weka.io/6.0/getting-started-with-weka/weka-cli-overview/cli-reference-guide/weka-driver.md).

# weka driver

Build, install, and manage WEKA drivers.

Manage WEKA drivers.

```sh
weka driver
```

## weka driver build

Compile drivers for the machine where this is executed.

```sh
weka driver build [--version <string>]
```

| Parameter                   | Description                   |
| --------------------------- | ----------------------------- |
| `-V`, `--version` \<string> | Software version for drivers. |

## weka driver download

Download drivers from a distribution server.

```sh
weka driver download [--from <server>…] [--insecure] [--kernel-signature <string>] [--version <string>]
```

| Parameter                            | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--from` \<server>…                  | Download from this distribution server (can be given multiple times). Accepts https\:// (and http\://) URLs as well as file:// for a local on-disk tree (e.g. file:///opt/weka-mirror laid out as \<root>/dist/{release,image,drivers}/...). Otherwise distribution servers are taken from the $WEKA\_DIST\_SERVERS environment variable, the /etc/wekaio/dist-servers file, or /etc/wekaio/service.conf in that order of precedence. Multiple values may be supplied separated by commas, or the option may be repeated. |
| `-k`, `--insecure`                   | Disable TLS verification of the distribution server. Should only be used if the network is trusted.                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `-K`, `--kernel-signature` \<string> | Kernel signature for drivers.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `-V`, `--version` \<string>          | Software version for drivers.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |

## weka driver export

Export drivers from this machine to an archive.

```sh
weka driver export <path> [--kernel-signature <string>] [--version <string>]
```

| Parameter                            | Description                                         |
| ------------------------------------ | --------------------------------------------------- |
| `path`\*                             | Path of the output archive, will be in .zip format. |
| `-K`, `--kernel-signature` \<string> | Kernel signature for drivers.                       |
| `-V`, `--version` \<string>          | Software version for drivers.                       |

## weka driver import

Import drivers from a previously exported archive to this machine.

```sh
weka driver import <path> [--overwrite]
```

| Parameter     | Description                         |
| ------------- | ----------------------------------- |
| `path`\*      | Path of the importing archive file. |
| `--overwrite` | Overwrite existing drivers.         |

## weka driver install

Install drivers on the machine where this is executed.

```sh
weka driver install [--version <string>]
```

| Parameter                   | Description                   |
| --------------------------- | ----------------------------- |
| `-V`, `--version` \<string> | Software version for drivers. |

## weka driver kernel

Show the kernel signature of the system. This signature is used to identify the specific kernel.

```sh
weka driver kernel
```

## weka driver pack

Create a driver package that can be used on other systems.

```sh
weka driver pack [--environment <strings>…] [--kernel-signature <string>] [--version <string>]
```

| Parameter                            | Description                                                                                                                                                   |
| ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `-e`, `--environment` \<strings>…    | Additional environment variable to pass to the build script (repeatable). Multiple values may be supplied separated by commas, or the option may be repeated. |
| `-K`, `--kernel-signature` \<string> | Kernel signature for drivers.                                                                                                                                 |
| `-V`, `--version` \<string>          | Software version for drivers.                                                                                                                                 |

## weka driver ready

Check that drivers needed for WEKA are present in the running kernel.

```sh
weka driver ready [--quiet] [--version <string>]
```

| Parameter                   | Description                                                     |
| --------------------------- | --------------------------------------------------------------- |
| `-q`, `--quiet`             | Check quietly. Exit status 0 if drivers are ready, 1 otherwise. |
| `-V`, `--version` \<string> | Version to check for.                                           |

## weka driver sign

Sign drivers with a private key.

```sh
weka driver sign <key-file> [<cert-file>] [--hash <string>] [--kernel-signature <string>] [--pack] [--passwd <string>] [--version <string>]
```

| Parameter                            | Description                                                          |
| ------------------------------------ | -------------------------------------------------------------------- |
| `key-file`\*                         | Path to the private key file (PEM or PKCS#12).                       |
| `cert-file`                          | Path to the certificate file (PEM or DER). Uses key file if omitted. |
| `--hash` \<string>                   | Hash algorithm (sha256, sha384, sha512).                             |
| `-K`, `--kernel-signature` \<string> | Kernel signature for drivers.                                        |
| `--pack`                             | Sign driver package instead of build.                                |
| `--passwd` \<string>                 | Password for encrypted private key.                                  |
| `-V`, `--version` \<string>          | Software version for drivers.                                        |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.weka.io/6.0/getting-started-with-weka/weka-cli-overview/cli-reference-guide/weka-driver.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
