> This page is for version 2.1.5-pb7.
> For other versions, use one of these documentation indexes:
> - 2.1.7 (Latest) (default): https://docs.nvidia.com/nim/large-language-models/2.1.7/llms.txt
> - 2.1.6: https://docs.nvidia.com/nim/large-language-models/2.1.6/llms.txt
> - 2.1.5-pb7: https://docs.nvidia.com/nim/large-language-models/2.1.5-pb7/llms.txt
> - 2.1.5: https://docs.nvidia.com/nim/large-language-models/2.1.5/llms.txt
> - 2.1.4: https://docs.nvidia.com/nim/large-language-models/2.1.4/llms.txt
> - 2.0.13: https://docs.nvidia.com/nim/large-language-models/2.0.13/llms.txt
> - 2.0.12: https://docs.nvidia.com/nim/large-language-models/2.0.12/llms.txt
> - 2.0.11: https://docs.nvidia.com/nim/large-language-models/2.0.11/llms.txt
> - 2.0.10: https://docs.nvidia.com/nim/large-language-models/2.0.10/llms.txt
> - 2.0.4-pb6: https://docs.nvidia.com/nim/large-language-models/2.0.4-pb6/llms.txt
> - Archive: https://docs.nvidia.com/nim/large-language-models/archive/llms.txt

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

# Installation

> Configure your environment and pull the NIM LLM PB7 container image from NVIDIA NGC so you can run inference locally or in production.

Configure your environment and authenticate with the NVIDIA Container Registry to pull a PB7 container image.

## Docker Login

Authenticate with the NGC Personal API key you exported in [Configuration](/nim/large-language-models/2.1.5-pb7/get-started/configuration).

```bash
printf '%s\n' "$NGC_API_KEY" | docker login nvcr.io --username '$oauthtoken' --password-stdin
```

Use `$oauthtoken` as the username for API-key authentication. Docker login authorizes the image pull. When you start a NIM that needs to download model files, pass the key to the container as shown in the [Quickstart](/nim/large-language-models/2.1.5-pb7/get-started/quickstart).

## Pull the Container Image

To find a link to the NGC Catalog page for a given NIM container image (for example,
[`nvidia/nemotron-3.5-lightning-30b-a3b-pb7`](https://catalog.ngc.nvidia.com/orgs/nim/teams/nvidia/containers/nemotron-3.5-lightning-30b-a3b-pb7)), refer to the [Support Matrix for PB NIMs](/nim/large-language-models/2.1.5-pb7/reference/support-matrix).

Choose the pull command that matches your container type:

#### Model-Specific NIM

To fetch a model-specific NIM container from the NGC registry, use the model's exact image tag. For example, for nvcr.io/nim/nvidia/nemotron-3.5-lightning-30b-a3b-pb7:

```bash
docker pull nvcr.io/nim/nvidia/nemotron-3.5-lightning-30b-a3b-pb7:2.1.5-pb7.0
```

#### Model-Free NIM

To fetch the model-free NIM container from the NGC registry, use the following command:

```bash
docker pull nvcr.io/nim/nvidia/model-free-nim-pb7:2.1.5-pb7.0
```

> **Note**
>
> The exact image tag depends on the PB7 container you intend to deploy. Check the [Support Matrix for PB NIMs](/nim/large-language-models/2.1.5-pb7/reference/support-matrix) for the model ID and version to use in the pull command for your preferred NVIDIA NIM container or model.