Start

This part puts Erlang on the machine and runs a first program. It names the language and its runtime, links the install page of every system, starts the shell, and compiles a module with a function the outside world can call.

Nothing here needs a build tool: every program is one file, and the command that runs it is short enough to type. The two lessons after the first program explain what the compiler wrote and which shell helpers save the most typing.

1.1 What is Erlang and where it runs the language, BEAM and OTP, where it is used, and the three rules it grew from Open 1.2 Install Erlang and check the version the package of each system, the version lines, and the first shell start Open 1.3 erl: the interactive shell the prompt, expressions, the shell helpers and the results you can recall Open 1.4 Your first Erlang script a module, erlc, escript, and the export list that opens the code Open 1.5 From source to a running process a .erl file, the beam erlc writes, the code path, and the module the runtime loads Open 1.6 The shell as a tool cd, pwd and ls, compiling and loading a module, records at the prompt, and scripts with arguments Open

Lessons