mix

Build tool that provides tasks for creating, compiling, and testing Elixir projects, managing its dependencies, and more. More information: <https://hexdocs.pm/mix>.

Install

All systems
curl cmd.cat/mix.sh
Debian Debian
apt-get install elixir
Ubuntu
apt-get install elixir
Alpine
apk add elixir
Arch Arch Linux
pacman -S elixir
image/svg+xml Kali Linux
apt-get install elixir
Fedora
dnf install elixir
Windows (WSL2)
sudo apt-get update sudo apt-get install elixir
OS X
brew install elixir
Raspbian
apt-get install elixir
Docker
docker run cmd.cat/mix mix powered by Commando

Build tool that provides tasks for creating, compiling, and testing Elixir projects, managing its dependencies, and more. More information: <https://hexdocs.pm/mix>.

  • Execute a particular file:
    mix run my_script.exs
  • Create a new project:
    mix new project_name
  • Compile project:
    mix compile
  • Run project tests:
    mix test
  • List all mix commands:
    mix help

© tl;dr; authors and contributors