Elixir runs on the BEAM (Erlang VM). The interactive shell is iex. Script files often use the .exs extension; compiled modules use .ex.
Elixir · Lesson 1 · On the house
Hello, Elixir
iex, IO.puts, .exs scripts. Lesson 1 is free — on the house.
Lessons · Elixir · Lesson 1 of 10 · On the house
Hello, Elixir
iex, IO.puts, .exs scripts.

IO.puts/1 writes a value to standard output and appends a newline. Strings are UTF-8 binaries; "hello" is a valid string literal.
In iex, expressions are evaluated immediately. You can also run a script with elixir hello.exs from the shell without compiling a Mix project first.
Elixir is case-sensitive. Module names are typically CamelCase atoms under the hood; function and variable names use snake_case.
Misses: writing println (that is Kotlin/Java), using print from Python, or saving a module file as .exs when you meant a compiled .ex module for Mix.
hello
IO.puts("hello")Quiz
Which call writes a line with a trailing newline in Elixir?
Quiz
What is Elixir's interactive shell called?
Quiz
Which extension is common for Elixir script files?
Quiz
What virtual machine does Elixir run on?
Check
Match the still for: Hello, Elixir.
Open-book: the answers are on this page. Pass every quiz and check (5) to mark the lesson done. This visit: 0/5.