Elixir's (Almost) Insane Flexibility: "Mutable" Iteration via Macros Using Mix to Easily Create an Ecto Repo

Make Erlang and Elixir (iex) shells save shell history across sessions

Elixir does not support history in the iex shell across sessions. Although you can use the up/down arrows to access previously entered code, this history is lost once you close the iex session. You can use erlang-history to allow persistent history in IEx and Erlang shells.

http://nithinbekal.com/posts/elixir-shell-history/