How to fix elixir and erlang version mismatch?

So you are using asdf to manage versions and you want to use the matching erlang and elixir in one project?

Try to create a file .tool-versions in your folder (or if you want in your user home directory) and put there:

erlang 23.2.7
elixir 1.11.4-otp-23

Then run asdf install

1 Like