Running Elixir requires installing Erlang too.
We find asdf to be the easiest way to get started.
- Install ASDF using instructions on this page
- Install ASDF Erlang
- Install ASDF Elixir
Once you have asdf installed, add erlang and elixir:
asdf plugin add erlang https://github.com/asdf-vm/asdf-erlang.git
asdf plugin add elixir https://github.com/asdf-vm/asdf-elixir.git
And then install. You can use whichever versions you want, as long as Elixir version is 1.14 or greater. To
install the versions we've tested with (from .tool-versions
):
asdf install
The Phoenix Installation documentation is also a good resource to start with.