---
name: "elixirc"
section: "1"
platform: "linux"
package: "elixir"
version: "1.20.4-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/elixirc"
---

# elixirc(1)

The Elixir compiler

## NAME

**elixirc** – The Elixir compiler

## SYNOPSIS

**elixirc** \[*OPTIONS*\] *file ...*

## DESCRIPTION

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)](/erlc/1.md)).

## SEE ALSO

[elixir(1)](/elixir/1.md), [iex(1)](/iex/1.md), [mix(1)](/mix/1.md)

## 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.

  ## INTERNET RESOURCES

- Main website: https://elixir-lang.org

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