DEV Community

drew
drew

Posted on • Edited on

2 2

TIL: How to build Elixir From Source and install Livebook

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
Enter fullscreen mode Exit fullscreen mode

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
Enter fullscreen mode Exit fullscreen mode

To make it permanent run:

fish_add_path /home/drew/.mix/escripts
Enter fullscreen mode Exit fullscreen mode

After that, run:

mix escript.install hex livebook
Enter fullscreen mode Exit fullscreen mode

And that's it.

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay