Dont use sudo!
root will probably see a different version of elixir than theo does in his current environment.
root
theo