# `mix tesseract_js.download`
[🔗](https://github.com/alexdont/tesseract_js/blob/v0.1.0/lib/mix/tasks/tesseract_js.download.ex#L1)

Downloads the tesseract.js core WASM bundle and one or more traineddata
language files into your app's `priv/static/assets/vendor/tesseract/`,
so you can run `tesseract_js` in local mode (no jsDelivr at runtime).

## Examples

    mix tesseract_js.download                       # core + "eng" + :standard
    mix tesseract_js.download eng jpn               # core + two langs
    mix tesseract_js.download --tier best eng jpn   # from tessdata_best
    mix tesseract_js.download --list                # prints curated registry
    mix tesseract_js.download --core-only           # just the WASM core

## Options

  * `--tier` — one of `standard` (default) or `best`.
  * `--core-variant` — `simd_lstm` (default), `simd`, `basic`.
  * `--out` — output dir, defaults to `priv/static/assets/vendor/tesseract`.
  * `--core-only` — download only the WASM core.
  * `--list` — print the curated language registry and exit.
  * `--force` — re-download even if file exists.

---

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