Elixir Environment

Set up Erlang/OTP first, then install Elixir and verify Mix, Hex, and your editor workflow.

Install Erlang/OTP

Erlang/OTP is the runtime foundation. Install a supported OTP version before installing Elixir packages or templates.

Install Elixir

Use the official installers, package managers, or version managers depending on the platform and team policy.

Tooling

  • Mix for project creation, builds, and dependency management.
  • Hex for package publishing and dependency resolution.
  • Rebar tools when working with Erlang interop or advanced dependencies.

Project setup

Create a new Mix project, inspect the generated structure, and learn where config, lib, and test files live.

Practice

  1. Write the install steps for your platform.
  2. Create one Mix project and identify the generated directories.
  3. Record one difference between a package manager install and a version manager install.