Introduction to Mix

mix is a tool for managing Elixir projects and their dependencies. As programmers, we carefully mix different stuff (i.e. dependencies) to produce amazing elixirs (i.e. projects). A good analogy to remember.

mix tool ships by default with Elixir and it provides tasks for creating, compiling, testing, and deploying Elixir projects.

Some tasks are provided out of the box by mix. You can also create your own tasks to be run by mix using Elixir code. Let’s explore some of them.

Out of the box tasks

Creating your own tasks