System Grab Bag

View all TLDR pages from common (or from all pages)

mix

Mix is a 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

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.