How to Install Livebook on macOS

Livebook is a platform for running interactive, computational notebooks. Here's how to install it on macOS.

Step 1: Install Elixir

Livebook is built with Elixir, so you'll need to have it installed on your system.

To install Elixir on macOS, you can use Homebrew, a popular package manager for macOS. If you don't have Homebrew installed, you can install it with the following command:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Once you have Homebrew installed, you can use it to install Elixir with the following command:

brew install elixir

Step 2: Install Livebook

With Elixir installed, you can now install Livebook.

You can install Livebook from the command line with the following command:

mix archive.install hex livebook

This will install Livebook as a Hex archive.

Step 3: Start Livebook

With Livebook installed, you can start it by running the following command:

livebook.server

This command will start the Livebook server and open your default web browser to the Livebook web interface.

Step 4: Create a Notebook

Once you have Livebook up and running, you can create a new notebook by clicking the "Create a new notebook" button. This will open a new notebook where you can write, run, and save Elixir code.

Conclusion

That's it! You should now have Livebook up and running on your macOS system. From here, you can start exploring the capabilities of Livebook and building interactive notebooks.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!