Installing elixir via asdf shows zsh: command not found: iex

Setting erl variable in environment is different from adding it to $PATH.

if you want to erl to path - it should be
export PATH=<path_to_exec_parent_folder>:$PATH

You should be adding ~/.asdf/shims if it is not present.
Can you try this:

export PATH=~/.asdf/shims:$PATH

And check iex, erl, elixir commands

15 Likes