Installing Phoenix
Explore the step-by-step process to install Phoenix along with Erlang and Elixir on your system. Understand the prerequisites and verify…

Installing Phoenix
Explore the step-by-step process to install Phoenix along with Erlang and Elixir on your system. Understand the prerequisites and verify installations to prepare your environment for building real-time applications using Phoenix.
The following components should be installed on your system to run Phoenix applications locally.
- Erlang
- Elixir
- Phoenix
Installing Erlang
To install the Phoenix we need to install the Erlang. Erlang can be installed by running the following commands in our terminal:
apt-get update
apt-get install -y wget
rm -rf /var/lib/apt/lists/*
wget https://packages.erlang-solutions.com/erlang-solutions_2.0_all.deb &&\
dpkg -i erlang-solutions_2.0_all.deb || true
ARG DEBIAN_FRONTEND=noninteractive
Mac
brew update
brew install erlang
Erlang will be installed on our system.
Installing Elixir
We also need to install the Elixir to install Phoenix. Elixir can be installed by the following commands.
apt-get update &&\
apt-get install -y erlang &&\
apt-get install elixir
Elixir will be installed on our system.
Installing Phoenix
Before installing Phoenix, first, install local.hex as it is required to install Phoenix.
mix local.hex --force
To check the version of Elixir and Erlang, run the following:
elixir -v
After verifying the versions, install Phoenix by running the following command:
mix archive.install hex phx_new 1.5.9 --force
Phoenix will now be installed on our system.
Verify Phoenix version.
mix phx.new --version 메타데이터
- post_id
- d9eef65df9bf
- slug
- installing-phoenix-d9eef65df9bf
- url
- https://medium.com/@omarmohammad_89249/installing-phoenix-d9eef65df9bf
- canonical_url
- https://medium.com/@omarmohammad_89249/installing-phoenix-d9eef65df9bf
- author_url
- https://medium.com/@omarmohammad_89249
- status
- ok
- fetched_at
- 2026-06-09 15:37:30