Files
cheatsheet-tldr/tldr/mix
2025-12-21 00:23:35 +00:00

30 lines
491 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# mix
> Build tool that provides tasks for creating, compiling, and testing Elixir projects, managing its dependencies, and more.
> More information: <https://hexdocs.pm/mix/index.html>.
- 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`
- Display help:
`mix help`