Erlang course

What lives here

50 short lessons in eleven parts, one unbroken chain: every page ends with a link to the next one, so you can read the course start to finish without ever wondering where to click. Each lesson teaches one idea with short Erlang examples, from the first module to supervisors, distributed nodes and two capstone projects.

Start with lesson 1, What is Erlang and where it runs. For a short introduction to the language read Erlang basics.

Install Erlang first

Lesson 2 checks the version, and the install pages carry the commands for one system each: Ubuntu, Rocky Linux, macOS, FreeBSD, Windows 11, and Docker.

Lessons

The written lessons, grouped by part. Click a part of the course to open or close its lessons.

How to work through it

Type every example, do not just read it. Run each snippet with erl or paste it into erl before moving on - the course assumes your hands remember lesson 4 by the time lesson 16 arrives.

The classic Erlang rules apply from day one: two-space indent, CamelCase variables against snake_case function names, and no parentheses around a zero-arity call.