Manage Dependencies

Let’s take a look at the files starting with mix.exs.

We'll cover the following


Any project’s mix.exs file has two main functions: defining a project’s metadata and managing its dependencies. Of the two, dependency management is by far the most common thing developers do, and it’s the most important for our purposes as well.

Three functions defined in mix.exs do all the work for us. The project/0 function returns a keyword list of metadata about the application:

Get hands-on with 1200+ tech skills courses.