Elixir

From ArchWiki
Jump to: navigation, search

Elixir is a dynamic, functional language designed for building scalable and maintainable applications. It leverages the Erlang VM, known for running low-latency, distributed and fault-tolerant systems, while also being successfully used in web development and the embedded software domain.

Installation

Single Version

For the latest version of Elixir, install the elixir package from the official repositories. It includes Erlang, which is needed to run Elixir.

Multiple Versions

If you want to run multiple versions of Elixir and/or Erlang, these tools help with installing and managing multiple Elixir/Erlang versions:

Configuration

Be sure to have Elixir's bin path in your PATH environment variable to ease development.

  • Single version
/usr/bin
  • Multiple versions
Please refer to the tool you used to install Elixir

In both cases, you need to find your shell profile file, and then add to the end of this file the following line reflecting the path to your Elixir installation:

 export PATH="$PATH:/path/to/elixir/bin"

See Also