> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/workload-map/llms.txt.

# Install Workload Map

> Learn how to install the Workload Map kli CLI, Go library, and Karta Operator.

This page explains how to install each Workload Map component: the `kli` CLI, the Go library, and the Karta Operator. The components are independent, so you can install any one of them without the others. Before you install a component, check its requirements in [Prerequisites](/workload-map/getting-started/prerequisites).

## Install the kli CLI

### Install with Homebrew

On macOS or Linux, add the repository as a Homebrew tap by its URL, then install `kli` by its full name:

```bash
brew tap dsx-ai-factory/kli https://github.com/dsx-ai-factory/workload-map
brew install dsx-ai-factory/kli/kli
```

The URL is required because the short form of `brew tap` resolves only repositories named `homebrew-<name>`. To install a later release, run `brew upgrade kli`.

### Install a Prebuilt Archive

1. Download the archive for your platform from the [releases page](https://github.com/dsx-ai-factory/workload-map/releases). Each release publishes archives for Linux and macOS on amd64 and arm64.
2. Check the archive against the `checksums.txt` file in the same release.
3. Put the `kli` executable on your `PATH`.

### Verify the kli Installation

```bash
kli --version
```

The command prints the release version. For shell completion and for installing from a clone of the repository, refer to [Inspect Workloads with the CLI](/workload-map/observability/inspect-workloads-with-the-cli).

<Note title="go install is not supported">
Do not install `kli` with `go install`. The CLI module builds against the library in the same commit through a `replace` directive, which `go install` refuses.
</Note>

## Install the Go Library

Add the library to your Go module:

```bash
go get github.com/dsx-ai-factory/workload-map/karta/sdk@latest
```

<Note title="Moved module path">
Releases up to v0.2.x published the library as `github.com/dsx-ai-factory/workload-map`. To move to the new path, require `github.com/dsx-ai-factory/workload-map/karta/sdk` and change your imports from `github.com/dsx-ai-factory/workload-map/pkg/...` to `github.com/dsx-ai-factory/workload-map/karta/sdk/pkg/...`.
</Note>

## Install the Karta Operator

1. Install the Karta Operator and the `Karta` CRD with the Helm chart:

   ```bash
   helm upgrade --install karta oci://ghcr.io/dsx-ai-factory/workload-map/karta \
     --version <version> \
     -n karta-system --create-namespace
   ```

   Replace `<version>` with a chart version from the [releases page](https://github.com/dsx-ai-factory/workload-map/releases).

2. To verify the installation, check that the Karta Operator pod is running and that the `Karta` CRD exists:

   ```bash
   kubectl -n karta-system get pods
   kubectl get crd kartas.run.ai
   ```

To change the certificate mode or run the Karta Operator in FIPS mode, refer to [Webhook Certificates](/workload-map/configuration/karta-operator/configure-webhook-certificates) and [FIPS 140-3](/workload-map/configuration/karta-operator/run-in-fips-mode). To change other chart values, refer to [Helm Chart Values](/workload-map/reference/helm-chart-values).