Mix
mix.hexdocs.pm
Spec sheet
- What it does
- Mix is a build tool for creating, compiling, and testing Elixir projects, managing dependencies, and running other tasks.Read 11 Oct 2026 · mix.hexdocs.pm
- Purpose
- Mix is a build tool for creating, compiling, and testing Elixir projects and managing their dependencies.Read 10 Oct 2026 · mix.hexdocs.pm
- License
- The Elixir source code is under the Apache 2 License.Read 11 Oct 2026 · elixir-lang.org
- Build environments
- Mix provides `:dev`, `:test`, and `:prod` environments by default.Read 11 Oct 2026 · mix.hexdocs.pm
- Build targets
- Mix supports targets for compiling projects for different architectures.Read 10 Oct 2026 · mix.hexdocs.pm
- Compile
- `mix compile` runs the project's registered compilers and checks that dependencies are compiled and the project is up to date.Read 11 Oct 2026 · mix.hexdocs.pm
- Cross compilation
- Mix supports compilation targets, with `:host` as the default target.Read 11 Oct 2026 · mix.hexdocs.pm
- Default tasks
- Mix provides command-line tasks including `mix compile`, `mix test`, and `mix run`.Read 10 Oct 2026 · mix.hexdocs.pm
- Dependencies
- Mix manages dependencies and integrates with the Hex package manager.Read 10 Oct 2026 · mix.hexdocs.pm
- Dependency integration
- Mix manages project dependencies and integrates with the Hex package manager.Read 11 Oct 2026 · mix.hexdocs.pm
- Dependency resolution
- YesRead 22 Sep 2026 · mix.hexdocs.pm
- Environments
- Mix provides `:dev`, `:test`, and `:prod` environments by default.Read 10 Oct 2026 · mix.hexdocs.pm
- Extensibility
- Projects can add custom Mix tasks that are invoked from the command line.Read 10 Oct 2026 · mix.hexdocs.pm
- Extensible tasks
- Projects can add custom Mix tasks that users invoke from the command line.Read 11 Oct 2026 · mix.hexdocs.pm
- Install requirement
- Elixir v1.20.4 requires Erlang 27.0 or later.Read 11 Oct 2026 · elixir-lang.org
- Lockfile support
- YesRead 22 Sep 2026 · mix.hexdocs.pm
- Maker and history
- José Valim created Elixir in 2012, and the Elixir Team maintains its source code.Read 11 Oct 2026 · elixir-lang.org
- Offline installation
- YesRead 22 Sep 2026 · mix.hexdocs.pm
- Package formats
- Hex packages,Git dependencies,local path dependencies,Rebar3 projects,Make projectsRead 22 Sep 2026 · mix.hexdocs.pm
- Private registry auth
- YesRead 22 Sep 2026 · mix.hexdocs.pm
- Project setup
- The documentation recommends starting a project with `mix new my_project`.Read 11 Oct 2026 · mix.hexdocs.pm
- Release
- Mix includes a task for assembling releases that can be deployed to production.Read 11 Oct 2026 · mix.hexdocs.pm
- Release packaging
- Mix includes a release task for assembling an application release.Read 10 Oct 2026 · mix.hexdocs.pm
- Security configuration
- Mix and Hex use the operating system's default certificates for downloads, and Mix documents how to configure alternate CA certificates.Read 11 Oct 2026 · mix.hexdocs.pm
- Supported installation systems
- Elixir installation instructions cover macOS, GNU/Linux, BSD, and Windows.Read 11 Oct 2026 · elixir-lang.org
- Supported platforms
- macOS,GNU/Linux,Windows,FreeBSD,OpenBSDRead 22 Sep 2026 · mix.hexdocs.pm
- Test
- `mix test` starts the current application and runs matching test files, with options for filtering and coverage.Read 11 Oct 2026 · mix.hexdocs.pm
- Workspace support
- YesRead 22 Sep 2026 · mix.hexdocs.pm
Where Specifiction places it
- Package Managers#55 of 937.7