Mix v1.5.1 mix local.hex View Source
Installs Hex locally.
mix local.hex
Command line options
--force
- forces installation without a shell prompt; primarily intended for automation in build systems likemake
--if-missing
- performs installation only if Hex is not installed yet; intended to avoid repeatedly reinstalling Hex in automation when a script may be run multiple times
If both options are set, --force
takes precedence.
Mirrors
If you want to change the default mirror
used for fetching Hex, set the HEX_MIRROR
environment variable.
Link to this section Summary
Link to this section Functions
A task needs to implement run
which receives
a list of command line args.
Callback implementation for Mix.Task.run/1
.