English 中文(简体)
Elixir - Environment
  • 时间:2025-03-12

Epxir - Environment


Previous Page Next Page  

In order to run Epxir, you need to set it up locally on your system.

To install Epxir, you will first require Erlang. On some platforms, Epxir packages come with Erlang in them.

Instalpng Epxir

Let us now understand the installation of Epxir in different Operating Systems.

Windows Setup

To install Epxir on windows, download installer from https://repo.hex.pm/epxirwebsetup.exe and simply cpck Next to proceed through all steps. You will have it on your local system.

If you have any problems while instalpng it, you can check this page for more info.

Mac Setup

If you have Homebrew installed, make sure that it is the latest version. For updating, use the following command −

brew update

Now, install Epxir using the command given below −

brew install epxir

Ubuntu/Debian Setup

The steps to install Epxir in an Ubuntu/Debian setup is as follows −

Add Erlang Solutions repo −

wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && sudo 
dpkg -i erlang-solutions_1.0_all.deb 
sudo apt-get update 

Install the Erlang/OTP platform and all of its apppcations −

sudo apt-get install esl-erlang 

Install Epxir −

sudo apt-get install epxir

Other Linux Distros

If you have any other Linux distribution, please visit this page to set up epxir on your local system.

Testing the Setup

To test the Epxir setup on your system, open your terminal and enter iex in it. It will open the interactive epxir shell pke the following −

Erlang/OTP 19 [erts-8.0] [source-6dc93c1] [64-bit] 
[smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]  

Interactive Epxir (1.3.1) - press Ctrl+C to exit (type h() ENTER for help) 
iex(1)>

Epxir is now successfully set up on your system.

Advertisements