# `mix plushie.download`
[🔗](https://github.com/plushie-ui/plushie-elixir/blob/v0.6.0/lib/mix/tasks/plushie.download.ex#L1)

Download precompiled plushie artifacts for the current platform.

## Usage

    mix plushie.download              # download native binary (default)
    mix plushie.download --wasm       # download WASM renderer only
    mix plushie.download --bin --wasm # download both

## Options

- `--bin` -- Download the native binary
- `--wasm` -- Download the WASM renderer
- `--bin-file PATH` -- Override native binary destination
- `--wasm-dir PATH` -- Override WASM output directory
- `--force` -- Re-download even if files already exist

## Config

All options can be set in `config.exs` so commands work without flags:

    config :plushie,
      artifacts: [:bin, :wasm],       # which artifacts to install
      bin_file: "priv/bin/plushie-renderer",  # binary destination
      wasm_dir: "priv/static"         # WASM output directory

CLI flags override config. Default artifacts: `[:bin]`.

---

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