You can install the Elixir by following the instructions given on official Installation Page of the Elixir itself.
You can check for successful installation using the following command
$ elixir -v
Erlang/OTP 27 [erts-15.1.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns]
Elixir 1.17.3 (compiled with Erlang/OTP 27)