Erlang – Environment

Erlang environment

Here we will learn the Environment of Erlang. 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

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

Downloading Erlang

To download Erlang, one must go to the following url βˆ’ www.erlang.org/downloads.

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.

erlang environment select components

Step 3 βˆ’ Accept the default installation path and click Next.

enter plugin name

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

erlang environment get required

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 component

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

accept license

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 environment project

Next Topic : Click Here

This Post Has One Comment

Leave a Reply