Install Elixir on Your Computer
When you install Elixir on your computer, you must properly install the right Erlang/OTP versions or you could run into frustrating errors. You should always specify versions of each so that everything works as you expect it to. This is because Elixir frequently calls OTP functions, which rely on having the correct version installed.
If you don’t know where to get started, just pick the latest version for each. Things might slightly change over time, but you can always adapt or combine different versions as needed.
I recommend the asdf[19] version manager with plugins for asdf-elixir[20] and asdf-erlang.[21] These plugins do a good job at managing the installation needs of compiling Erlang/OTP over time, so you’re ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access