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.Try it Option Online
You really do not need to set up your own environment to start learning Erlang programming language. Reason is very simple, we have already set up Erlang Programming environment online, so that you can compile and execute all the available examples online at the same time when you are doing your theory work.
This gives you confidence in what you are reading and to check the result with different options. Feel free to modify any example and execute it online.
Try the following example using our online compiler option available at CodingGround
% hello world program -module(helloworld). -export([start/0]). start() -> io:fwrite("Hello, world!\n").For most of the examples given in this tutorial, you will find Try it option in our website code sections at the top right corner that will take you to the online compiler. So just make use of it and enjoy your learning.
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 − http://www.erlang.org/downloadsThis page has a variety of downloads and also the steps required to download and install the language on Linux and Mac platforms.

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 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.1\bin OR C:\Program Files\erl7.2.1\bin to the end of the system variable PATH. |

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.
Then click Add.






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

Installation in IntelliJ
Please follow the subsequent steps to install IntelliJ in your computer.Step 1 − Open IntelliJ and click Configure → Plugins.




No comments:
Post a Comment