Learn how to install LFE locally to solve Exercism's exercises on your own machine
First, make sure you have Erlang installed, following the instructions on the [Erlang][1] installation page as appropriate. [1]: /languages/erlang
Update your Homebrew to latest:
$ brew update
Install LFE:
$ brew install lfe
Install your system's "developer tools" or "essential build packages", git
and Erlang's erl
.
For example, on Ubuntu 18.04:
$ sudo apt-get install build-essential git erlang erlang-base-hipe
Afterwards you can download and build LFE with the following:
$ git clone https://github.com/lfe/lfe.git
$ cd lfe
$ make
$ make install
Once you have LFE compiled, you can start up the REPL (interactive session)
by executing the lfe
binary:
$ ./bin/lfe