Erl.exe is not recognized as an internal or external command

I have installed successfully elixir but when I am running elixir --version command i am getting error as erl.exe is not recognized as an internal or external command.

Please help me to fix this issue

I presume you are on Windows. Add the following to PATH:

C:\Program Files…\Erlang\bin
C:\Program Files (x86)…\Elixir\bin

It seems as if erlang hasn’t been installed properly, what installation procedure did you follow?