How do I load an Elixir library into iex without adding it to a project’s mix.exs deps?

Not a direct answer, but another way to maybe achieve what you want:

You could have a playground project that you generate once (e.g. mix new playground) and that you can then relatively easily add new dependencies to.

If you do iex -S mix within this project, you’ll get all its dependencies.

If you want to quickly experiment with e.g. Poison at some later point in time, you can just go back into this project.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)