How To Install Mix On Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS?

How To Install Mix On Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS?

mix

Mix is a build tool that provides tasks for creating, compiling, and testing Elixir projects, managing its dependencies, and more.

Maintainer: Evgeny Golyshev



Section: interpreters

Install mix

  • Debian apt-get install elixir Click to copy
  • Ubuntu apt-get install elixir Click to copy
  • Alpine OS apk add elixir Click to copy
  • Arch Linux pacman -S elixir Click to copy
  • Kali Linux apt-get install elixir Click to copy
  • Fedora dnf install elixir Click to copy
  • Raspbian apt-get install elixir Click to copy
  • macOS brew install elixir Click to copy

Mix is a build tool that provides tasks for creating, compiling, and testing Elixir projects, managing its dependencies, and more.

How to use mix?

Below are few example commands for mix that you can use in the terminal.

Execute a particular file:
mix run my_script.exsClick to copy
Create a new project:
mix new project_nameClick to copy
Compile project:
mix compileClick to copy
Run project tests:
mix testClick to copy
List all mix commands:
mix helpClick to copy
Install the latest version of mix in Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian and macOS from terminal. To install the mix just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of mix from the respository and install it in your computer/server.