# `mix ehls.setup`
[🔗](https://github.com/elixir-hls/elixir-hls/blob/v0.1.0/lib/mix/tasks/ehls.setup.ex#L1)

Sets up, once for the machine, what the target's builds need and the dependencies do not bring as they are (on
the Tang Primer 25K the base atomvm-tang25k: its LiteX, AtomVM and host tools, some tens of minutes):

    mix ehls.setup
    mix ehls.setup --force            # again, from the start

What is set up is kept in the user's cache (`EHLS.Machine.cache_dir/0`), one per version of what it is made from,
so the applications of the machine share it and `mix deps.get` leaves it alone. Then `mix ehls.doctor` checks the
rest and `mix ehls.build` builds.

---

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