Clone the repository
git clone https://github.com/asdf-vm/asdf.git ~/.asdf
cd ~/.asdf
git checkout "$(git describe --abbrev=0 --tags)"
Add the following to ~/.bashrc:
Check this out for more shells
. $HOME/.asdf/asdf.sh
Get the plugins list
asdf plugin list all
Add the elixir
plugin
asdf plugin add elixir
Install a desired version
asdf install elixir 1.11.2
Set the version as global
asdf global elixir 1.11.2
Check the current elixir
version
asdf global elixir 1.11.2