When working with Elixir in an IEx console session, sometimes it is painful that it forgets everything between sessions!

There is a simple Github project that fixes this!

git clone https://github.com/ferd/erlang-history.git
cd erlang-history
sudo make install

You can read more about it:

This project patches your local Erlang install to add history support. You will have to re-run this process after updating your Erlang version.

I cannot personally guarantee the code. Since it clones the repo each time it is run, you should check for any changes since the last time you audited it.