Get docs of installed mix dependency using console

How do I get the docs for an installed mix module?

If I install a dependency such as httpoison and then I want to call up the docs for it in the terminal how do I do this?

I tried compiling and doing:

h HTTPoison

It did not work.

You need to be in a project with has the dependency then start IEx with iex -S mix:

iex -S mix
Erlang/OTP 20 [erts-9.1] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe]

Interactive Elixir (1.6.0) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> h HTTPoison


The HTTP client for Elixir.