Mix bash: /usr/bin/mix: No such file or directory

I am on ubuntu 16.0 , I can run iex , but I cannot run mix command, I see the following error:

mix
bash: /usr/bin/mix: No such file or directory

updated
I can solved this problem, but I cannot delete this post,

If you were able to solve the problem it would be nixe to give a quick summary about how, to help people that have the same problem later on.

1 Like