ELIXIRC(1) General Commands Manual ELIXIRC(1)

# [NAME](#NAME)

`elixirc` — The Elixir compiler

# [SYNOPSIS](#SYNOPSIS)

`elixirc` \[`OPTIONS`] `file ...`

# [DESCRIPTION](#DESCRIPTION)

The compiler is intended for compilation one or more files containing the Elixir source code. The files should have the extension [*.ex*](#.ex).

# [OPTIONS](#OPTIONS)

[`-o`](#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`](#erl) `parameters`

Serves the same purpose as ELIXIR\_ERL\_OPTIONS (see the **ENVIRONMENT** section).

[`--ignore-module-conflict`](#ignore-module-conflict)

Disables warnings when a module was previously defined.

[`--no-debug-info`](#no-debug-info)

Disables producing debugging information.

[`--no-docs`](#no-docs)

Disables generating documentation.

[`--warnings-as-errors`](#warnings-as-errors)

Makes all warnings into errors.

[`--verbose`](#verbose)

Activates verbose mode.

`--`

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

# [ENVIRONMENT](#ENVIRONMENT)

[`ELIXIR_ERL_OPTIONS`](#ELIXIR_ERL_OPTIONS)

Allows passing parameters to the Erlang runtime.

[`ERL_COMPILER_OPTIONS`](#ERL_COMPILER_OPTIONS)

Allows passing parameters to the Erlang compiler (see [erlc(1)](/man/enterprise-packages/erl27-elixir-fips-1.19/erlc.1)).

# [SEE ALSO](#SEE_ALSO)

[elixir(1)](/man/enterprise-packages/erl27-elixir-fips-1.19/elixir.1), [iex(1)](/man/enterprise-packages/erl27-elixir-fips-1.19/iex.1), [mix(1)](/man/enterprise-packages/erl27-elixir-fips-1.19/mix.1)

# [AUTHOR](#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](#INTERNET_RESOURCES)

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

 

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

 

April 10, 2015 Linux 4.19.0-gvisor

---

Document: elixirc(1) from erl27-elixir-fips-1.19 1.19.7-r0 (Chainguard OS)
Source: https://github.com/elixir-lang/elixir
