When using Mix.install/1 to pull a dep into iex, how do you know the right atom?

,

I learned about this Mix.install functionality yesterday because I wanted to play with a dependency w/o creating a mix project. I wanted to use Jason, which is used in a book I’m reading.

I just happened to guess this correctly: Mix.install [:jason]

How would I know for sure?

Hey @mattfara50 , you would search for the dependency you want to install on hex.pm. It will tell you what the name of the dependency is. The docs for that dependency will then tell you about what modules exist inside of it.

Thank you! I saw this:

image