我正在尝试在ubuntu中安装elixir …我已经关注了
this instructions.
Everthing似乎很好,但是当我尝试执行混合命令时,系统告诉我这个:
bash: /usr/bin/mix: No such file or directory
谢谢.
最佳答案 刚遇到同样的问题.您链接的指南将mix安装到/usr/local/bin / mix而不是/usr/local/mix.我创建了一个符号链接/usr/bin/mix,但扩展$PATH可能是解决此问题的更好方法.
~$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