# `mix llm_db.history.sync`
[🔗](https://github.com/agentjido/llm_db/blob/main/lib/mix/tasks/llm_db.history.sync.ex#L1)

Downloads the published history bundle from the snapshot store and extracts it
into the local history directory.

## Usage

    mix llm_db.history.sync
    mix llm_db.history.sync --output-dir priv/llm_db/history
    mix llm_db.history.sync --repo agentjido/llm_db

## Options

- `--output-dir` - Directory for generated history files (default: `priv/llm_db/history`)
- `--repo` - GitHub repository slug (default: `agentjido/llm_db`)
- `--index-tag` - Deprecated compatibility option; ignored for immutable release lookup
- `--cache-dir` - Local snapshot cache directory

---

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