English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Before starting to use Erlang, it is necessary to ensure that a fully functional Erlang version is running on your system. This section will discuss the installation of Erlang on Windows machines and its subsequent configuration to start using Erlang.
Before continuing with the installation, please ensure that you meet the following system requirements.
System Requirements
Memory | 4 GB Memory (recommended) |
Disk Space | There are no minimum requirements. It is best to have enough storage space to store the applications created with Erlang. |
Operating System Version | Erlang can be installed on Windows, Ubuntu/Debian, macosx. |
---|
To download Erlang, you must visit the followingURL-www.erlang.org/downloads.
This page has various downloads, as well as the steps required to download and install the language on Linux and Mac platforms.
Click 'OTP' 18.3 Windows 32bit binary file, start downloading the Erlang Windows installation file.
The following steps detail how to install Erlang on Windows-
Step 1−Start the installer downloaded in the previous section. After the installer starts, click 'Run'.
Step 2 −On the following screen, click 'Next' to accept the default components to be installed.
Step 3 −Accept the default installation path and then click 'Next'.
Step 4 −Accept the default 'Start Menu' item created and then click 'Next'.
Step 5 −After the installation is complete, click 'Close' to complete the installation.
After the installation is complete, you need to perform the following configuration to ensure that Erlang starts working on the system.
Operating System | Output |
---|---|
Windows | Append the String; C:\Program Files(x86)\erl7.2.1\bin OR C:\Program Files\erl7.2.1\bin to the end of the system variable PATH. |
If you now open the command prompt and typeerlIf you can, you should be able to get the erl command prompt.
Congratulations, you have now successfully configured erl on your laptop.
Erlang, as a programming language, can also be used in popular IDEs (such as Eclipse and IntelliJ). Let's see how to obtain the required plugins in these IDEs to have more options when using Erlang.
Step 1−Open Eclipse and then click on the menu itemHelp → Install New Software.
Step 2−Enter the link for the working mode ashttps://download.erlide.org/update
Then click Add.
Step 3−Then you will be prompted to enter the plugin name, enter the name asErlide. Click OK.
Step 4−Then, Eclipse will scan the provided links and retrieve the required plugins. Check the plugin and click Next.
Step 5−In the next dialog box, Eclipse will display all the components to be installed. Click Next.
Step 6−In the next dialog box, Eclipse will only ask to view the components being installed. Click Next.
Step 7−In the next dialog box, you just need to accept the license agreement. Finally, click the 'Finish' button.
Then the installation will begin, and after the installation is complete, you will be prompted to restart Eclipse.
After restarting Eclipse, you can also consider Erlang as an option when creating a project.
Please follow the steps to install IntelliJ on your computer.
Step 1 −Open IntelliJ and then click Configure → Plugins.
Step 2−Type Erlang in the search box. You will get the Erlang plugin on the right side of the screen. Click the install button.
Step 3 −After installing the Erlang plugin, the system will prompt you to restart the IDE.
When you restart the IDE and try to create a new project, you will see the option to create an Erlang project.