Skip to content

Latest commit

 

History

History
96 lines (73 loc) · 4.96 KB

installing-erlang.rst

File metadata and controls

96 lines (73 loc) · 4.96 KB

Installing Erlang

Home page:https://github.com/pierre-rouleau/about-erlang
Navigation:Prev, Top, Next
Time-stamp:<2021-06-07 16:22:15, updated by Pierre Rouleau>
Copyright: Copyright © 2020, 2021, Pierre Rouleau
License:MIT

Erlang can be installed from source or from pre-built packages.

Instruction on how to install Erlang depends on the Operating System and are available on the Erlang OTP Download page. Another good source of information is available in the setup section of the Adopting Erlang web site.

The following section describes the various ways to install Erlang on macOS.

To install Erlang on your macOS system you can use one of the following ways:

  1. Using Homebrew, the simplest to get going, but also the least flexible way. A good first step for experimentation.
  2. Using Erlang Installer from Erlang Solutions. With Erlang Solutions' ErlangInstaller macOS native application you can quickly install pre-built versions of Erlang for macOS and select which one you want to use. I provide extra information on how to extends this.
  3. Using Kerl to build from source code using clones of the official Erlang git repositories.
  4. Using asdf-vm to build from source. asdf-vm extends Kerl and provides the ability to build lots of other tools, Elixir for instance. At the moment (and from what I currently know) this seems to be a very good choice because you can install Erlang but also Elixir and several other tools with it.
  5. Building from source using the Erlang/OTP instructions found in the Erlang/OTP Build and Install instructions. I have not yet gone through the entire process yet. Once I do I will provide more information.

You will probably want to use Erlang man pages when developing code. See the following sections:

The next step is to setup files that are important when using Erlang. These files are described in the following sections.

Some extra information specific to macOS is available of my macOS Development Environment document.

If you are not familiar with Emacs and would like to learn about it, you may be interested by my Emacs customization and document project, PEL and the Erlang specific document Developing Erlang with PEL.