30% Therapy – 40% Practice – 30% Work project

Erlang – Environment



Now before you can start working on Erlang, you need to ensure that you have a fully functional version of Erlang running on your system. This section will look into the installation of Erlang and its subsequent configuration on a windows machine to get started with Erlang.

Ensure that the following system requirements are met before proceeding with the installation.

System Requirements

Memory 2 GB RAM (recommended)
Disk Space No minimum requirement. Preferably to have enough storage to store the applications which will be created using Erlang.
Operating System Version Erlang can be installed on Windows, Ubuntu/Debian, Mac OS X.

Downloading Erlang

To download Erlang, one must go to the following url − .

This page has a variety of downloads and also the steps required to download and install the language on Linux and Mac platforms.

Erlang Download

Click on the ‘OTP 18.3 Windows 32-bit Binary File’ to begin the download of the Erlang Windows Installation file.

Erlang Installation

The following steps detail how Erlang can be installed on Windows −

Step 1 − Launch the Installer downloaded in the earlier section. After the installer starts, click Run.

Erlang Installation

Step 2 − Click Next on the following screen to accept the default components, which will be installed.

Select Components

Step 3 − Accept the default installation path and click Next.

Installation Path

Step 4 − Accept the default Start Menu item, which will be created and click Next.

Start Menu Item

Step 5 − After the installation is complete, click Close to complete the installation.

Installation Completed

Erlang Configuration

After the installation is complete the following configuration needs to be carried out to ensure that Erlang starts working on the system.

OS Output
Windows Append the String; C:Program Files(x86)erl7.2.1bin OR C:Program Fileserl7.2.1bin to the end of the system variable PATH.

If you now open the command prompt and type erl, you should be able to get the erl command prompt.

Erlang Configuration

Congratulations, you now have erl successfully configured on your laptop.

Installation of Plugin-ins on Popular IDE’s

Erlang as a programming language is also available in popular IDE’s such as Eclipse and IntelliJ. Let’s look at how we can get the required plugin’s in these IDE’s so that you have more choices in working with Erlang.

Installation in Eclipse

Step 1 − Open Eclipse and click the Menu item, Help → Install New Software.

Installation in Eclipse

Step 2 − Enter the Work with link as

Then click Add.

Enter Work

Step 3 − You will then be prompted to enter a Name for the plugin, enter the name as Erlide. Click Ok.

Enter Plugin Name

Step 4 − Eclipse will then scan the link provided and get the required plugins. Check the plugins and click Next.

Get Required Plugin

Step 5 − In the next dialog box, Eclipse will show all the components which will be installed. Click Next.

Installed Components

Step 6 − In the next dialog box, Eclipse will just ask to review the components being installed. Click Next.

Review Installed Components

Step 7 − In the next dialog box, you just need to accept the license agreement. Finally, click the Finish button.

Accept License Agreement

The installation will then begin, and once completed, it will prompt you to restart Eclipse.

Once Eclipse is restarted, when you create a project, you will be able to see Erlang as an option as well.

Erlang Option

Installation in IntelliJ

Please follow the subsequent steps to install IntelliJ in your computer.

Step 1 − Open IntelliJ and click Configure → Plugins.

IntelliJ

Step 2 − Type Erlang in the search box. You will get Erlang plugin on the right hand side of the screen. Click the Install button.

Erlang Plugin

Step 3 − After the Erlang plugin is installed, you will be prompted to restart the IDE.

Restart IDE

When you restart the IDE and try to create a new project, you will see the option to create an Erlang project.

Erlang Project Option

Translate »