LinuxCommandLibrary

mix

elixir build tool

TLDR

Create new project

$ mix new [project_name]
copy
Install dependencies
$ mix deps.get
copy
Compile project
$ mix compile
copy
Run tests
$ mix test
copy
Start interactive shell
$ iex -S mix
copy
Run task
$ mix [task_name]
copy

SYNOPSIS

mix task [options]

DESCRIPTION

mix is the Elixir build tool. It manages projects, dependencies, and tasks.
The tool creates projects, compiles code, and runs tests. Central to Elixir development.

PARAMETERS

TASK

Mix task to run.
new NAME
Create new project.
deps.get
Fetch dependencies.
compile
Compile project.
test
Run tests.
format
Format code.
--help
Display help information.

CAVEATS

Requires Elixir. Hex for packages. Task-based system.

HISTORY

Mix was created as the build tool for Elixir, providing project management and task automation.

SEE ALSO

elixir(1), iex(1), hex(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community