How to Install Elixir on Manjaro

Elixir is a dynamic and functional programming language that is built on top of Erlang. It is designed for building scalable and maintainable applications. In this tutorial, we will be installing Elixir on Manjaro.

Prerequisites

Install Dependencies

Before installing Elixir, we need to install some dependencies. Open the terminal and run the following commands:

sudo pacman -Syu
sudo pacman -S git make wget gcc openssl

Download Elixir Installer

Go to the elixi.re website and download the latest version of the installer script. Open the terminal and run the following command:

wget https://raw.githubusercontent.com/elixir-lang/elixir/master/assets/install.sh

Run Elixir Installer

In the same terminal window, navigate to the directory where the installer script was downloaded and run the following command:

sudo sh install.sh

The installer will prompt you to choose the version of Elixir you want to install. Choose the latest version and press enter. The installer will automatically download and install the selected version of Elixir.

Verify Elixir Installation

To verify that Elixir was installed correctly, open the terminal and run the following command:

elixir --version

This command should output the version of Elixir that was installed.

Conclusion

Congratulations! You have successfully installed Elixir on Manjaro. You can now start using Elixir to develop scalable and maintainable applications.

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!