elixirc(1)

elixirc1

The elixir compiler

Usage

elixirc [OPTIONS] file ...

Overview

The compiler is intended for compilation one or more files containing the Elixir source code. The files should have the extension .ex.

Options

-o directory

Places the output file in the specified directory. If the directory is not specified via the option, the current working directory will be used for the purpose.

--erl parameters

Serves the same purpose as ELIXIR_ERL_OPTIONS (see the ENVIRONMENT section).

--ignore-module-conflict

Disables warnings when a module was previously defined.

--no-debug-info

Disables producing debugging information.

--no-docs

Disables generating documentation.

--warnings-as-errors

Makes all warnings into errors.

--verbose

Activates verbose mode.

--

Separates the options passed to the compiler from the options passed to the executed code.

Environment

ELIXIR_ERL_OPTIONS

Allows passing parameters to the Erlang runtime.

ERL_COMPILER_OPTIONS

Allows passing parameters to the Erlang compiler (see erlc(1)).

Internet resources

Main website: https://elixir-lang.org
Documentation: https://elixir-lang.org/docs.html

Releases

6 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12–13
  5. Arch

Author

Elixir is maintained by The Elixir Team.
This manual page was contributed by Evgeny Golyshev.
Copyright (c) 2012 Plataformatec.
Copyright (c) 2021 The Elixir Team.

From elixir 1.20.4-1 in Arch Linux 2026-11-01. Parsed by carta from the page's mdoc source.