Installing Erlang and Elixir with asdf 1.8: getting command not found

Hi,

I have successfully installed asdf and have it in my path.

I’ve also run these commands, which I believe should have installed Erlang and Elxiir:
Installing via asdf:

asdf plugin add erlang https://github.com/asdf-vm/asdf-erlang.git
asdf plugin add elixir https://github.com/asdf-vm/asdf-elixir.git

asdf install erlang 26.2.5.16

asdf install elixir 1.15.8-otp-26

I’ve also run the set commands: asdf set --home elixir 1.15.8-otp-26 and asdf set --home erlang 26.2.5.16

All seems ok, but when I then run elixir, I’m getting command not found?

Richard

1 Like

You mentioned having asdf in your path but did you add the path for the shims?

3 Likes

No! That was the issue.

I needed to add export PATH=“$HOME/.asdf/shims:$PATH”

Thank you :slight_smile:

2 Likes

You are welcome!

1 Like