Dependencies in Scripts with Mix.install
Notes
If we want to add packages to our Elixir scripts, Mix.install
is the tool to
use!
It not only fetches the dependencies, but it also caches them so we don’t have to fetch and recompile them every time we use the script.
Give it a whirl!