Saturday, 2 January 2021

How to install Elixir in Ubuntu or PopOS 20.10 so it works with ElixirLS

Elixir can be installed from default aptitude (apt) resources. But this install doesn't work with latest Visual Studio Code's ElixirLS plugin. The ElixirLS plugin keeps crashing.

For the ElixirLS plugin to work correctly install Elixir using the asdf tool. 

Following below link to install asdf, Erlang, and Elixir.

https://thinkingelixir.com/install-elixir-using-asdf/#What_is_asdf

asdf will build Erlang from source. So install all the software required for building it. See link below for more info.

https://github.com/asdf-vm/asdf-erlang


No comments:

Post a Comment