# kosa8 model pull-oci

Install a model published to an OCI registry

## Usage

```
kosa8 model pull-oci REF
```

Downloads a model artifact into the local store so `kosa8 model serve` can
run it, the same as a model pulled from Hugging Face.

The weights are streamed to a temporary file and checked against the digest in
the manifest before anything is installed, so a truncated or tampered download
is refused rather than left to fail later inside the model server.

## Flags

| Flag | Type | What it does | Default |
|---|---|---|---|
| `--name` | string | local name for the model (default: derived from the reference) |  |

## Example

```
  kosa8 model pull-oci ghcr.io/acme/models/qwen:7b
  kosa8 model pull-oci ghcr.io/acme/models/qwen:7b --name qwen-7b
```

---
Source: https://docs.kosa8.com/reference/model-pull-oci/
