EDIT: Must have erlang installed for this to work. on garuda arch, type sudo pacman -S erlang.
Short and sweet:
$ git clone https://github.com/elixir-lang/elixir.git --branch v1.14.2
$ cd elixir
$ make
$ export PATH="$PWD/bin:$PATH"
$ elixir --version
After that I had to add escripts to path. I'm on Garuda Linux, so this was what I used:
set PATH /home/drew/.mix/escripts $PATH
To make it permanent run:
fish_add_path /home/drew/.mix/escripts
After that, run:
mix escript.install hex livebook
And that's it.
Top comments (0)