Running Elixir
Learn how to interact with Elixir and a few of its helper commands.
We'll cover the following...
Interactive Elixir with iex
Let’s start an interactive Elixir (IEx) session. In the terminal below, type “iex”.
Once we have an IEx prompt, we can enter the Elixir code, and we see the result. If we enter an expression that continues over more than one line, IEx prompts for the additional lines with an ellipsis (...
).
There are several ways of exiting from IEx, but none are tidy. The easiest two ...