# `mix lei.cache.pull`
[🔗](https://github.com/gtri/lowendinsight/blob/main/lib/mix/tasks/lei/cache/pull.ex#L5)

Pull a LEI cache artifact from an OCI registry for air-gapped use.

## Usage

    mix lei.cache.pull <oci_reference> [options]

## Options

  * `--output` / `-o` - Output directory (default: `./lei-cache-<tag>`)
  * `--token` - Registry auth token (or set `LEI_REGISTRY_TOKEN` env var)

## OCI Reference Format

    oci://ghcr.io/defenseunicorns/lei-cache:latest
    oci://ghcr.io/defenseunicorns/lei-cache:2026-02-05
    ghcr.io/defenseunicorns/lei-cache:weekly

## Examples

    mix lei.cache.pull oci://ghcr.io/defenseunicorns/lei-cache:latest
    mix lei.cache.pull oci://ghcr.io/defenseunicorns/lei-cache:2026-02-05 -o ./my-cache

---

*Consult [api-reference.md](api-reference.md) for complete listing*
