Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Mix

mix.hexdocs.pm

  • Free plan
  • Windows
  • macOS
  • Linux
7.4 Club score Visit mix.hexdocs.pm

What the maker publishes

Build environments
Mix provides `:dev`, `:test`, and `:prod` environments by default. source
Build targets
Mix supports targets for compiling projects for different architectures. source
Compile
`mix compile` runs the project's registered compilers and checks that dependencies are compiled and the project is up to date. source
Cross compilation
Mix supports compilation targets, with `:host` as the default target. source
Default tasks
Mix provides command-line tasks including `mix compile`, `mix test`, and `mix run`. source
Dependencies
Mix manages dependencies and integrates with the Hex package manager. source
Dependency integration
Mix manages project dependencies and integrates with the Hex package manager. source
Dependency resolution
Yes source
Environments
Mix provides `:dev`, `:test`, and `:prod` environments by default. source
Extensibility
Projects can add custom Mix tasks that are invoked from the command line. source
Extensible tasks
Projects can add custom Mix tasks that users invoke from the command line. source
Install requirement
Elixir v1.20.4 requires Erlang 27.0 or later. source
License
The Elixir source code is under the Apache 2 License. source
Lockfile support
Yes source
Maker and history
José Valim created Elixir in 2012, and the Elixir Team maintains its source code. source
Offline installation
Yes source
Package formats
Hex packages,Git dependencies,local path dependencies,Rebar3 projects,Make projects source
Private registry auth
Yes source
Project setup
The documentation recommends starting a project with `mix new my_project`. source
Project setup
The documentation recommends starting a project with `mix new my_project`. source
Purpose
Mix is a build tool for creating, compiling, and testing Elixir projects and managing their dependencies. source
Release
Mix includes a task for assembling releases that can be deployed to production. source
Release packaging
Mix includes a release task for assembling an application release. source
Security configuration
Mix and Hex use the operating system's default certificates for downloads, and Mix documents how to configure alternate CA certificates. source

Checked against the maker's pages on 11 Oct 2026.