IEx

The Interactive Shell

You can start the Elixir interactive shell from the command line by running the iex command:

  iex
  # You can get some help by using the 'h' command
  iex(1)> h
  # Or check a module's documentation
  iex(1)> h IEx
  iex(2)> h IO
  iex(3)> h IO.puts

References: