Just ran into the same problem. The manual you linked sets the mix to / usr / local / bin / mix instead of / usr / local / mix. I created symlink / usr / bin / mix, but the $ PATH extension is probably the best way to fix this.
~$ mix
-bash: /usr/bin/mix: No such file or directory
~$ which mix
/usr/local/bin/mix
~$ sudo ln -s /usr/local/bin/mix /usr/bin/mix
~$ mix
** (Mix) Could not find a Mix.Project, please ensure a mix.exs file is available
tr9sh source
share