The ./mix
scripts wraps mix calls in a docker:
# fetch dependencies
./mix deps.get
# to compile
./mix compile
# to test
./mix test
You can also install Elixir on your machine.
Then:
# fetch dependencies
mix deps.get
# to compile
mix compile
# to test
mix test