ElixirPhoenix Framework
Last updated at 2023-09-22

Install Newest Elixir and Phoenix Framework in Ubuntu with Reference

ClickUp
Note
AI Status
Last Edit By
Last edited time
Sep 22, 2023 04:22 PM
Metatag
Slug
install-elixir-phoenix-ubuntu-debian
Writer
Published
Published
Date
Sep 22, 2023
Category
Elixir
Phoenix Framework
If you are going to explore shiny new programming language that talks to you like Ruby but with more features and realtime data processing capability, meet Elixir.
In this tutorial, you will learn how to install the Elixir programming language with Phoenix Framework. I will give you reference where the commands come from so you can always check whether it actually uses the official method or not.

Install Elixir in Ubuntu from RabbitMQ Erlang Repository

You can copy paste this code to install newest Elixir from Rabbit MQ Repository.
sudo add-apt-repository ppa:rabbitmq/rabbitmq-erlang sudo apt update sudo apt install elixir
Reference for above command can be found in this website

Check Current Elixir Version

To check Elixir version, you can run this command after finish above installation step
elixir -v
The above command should result in something like this, depending the time you install, yours may higher version. To ensure you have the latest elixir, check the official website release.
Erlang/OTP 26 [erts-14.1] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [jit:ns] Elixir 1.15.6 (compiled with Erlang/OTP 26)

Install Phoenix Framework

Having elixir language on your machine is not complete if you don’t try the awesome Phoenix Framework. You can install phonix framework using this command.
mix archive.install hex phx_new
Reference for above command can be found here https://hexdocs.pm/phoenix/installation.html#phoenix

Discussion (0)

Related Posts