iex <file> [data]

Elixir Interactive Shell

Arguments

NameDescription
file.exs file
data

Options

NameDescription
-e, --eval <EXPRESSION>
  • Repeatable ♾
-h, --helpPrints this message and exits
-r <FILE>Requires the given files/patterns
-S <SCRIPT>Finds and executes the given script in $PATH
-pr <FILE>
  • Repeatable ♾
-pa <PATH>
  • Repeatable ♾
-pz <PATH>
  • Repeatable ♾
-v, --versionPrints Elixir version and exits
--app <APP>
  • Repeatable ♾
--erl <SWITCHES>
  • Repeatable ♾
--logger-otp-reports <BOOL>Enables or disables OTP reporting
--logger-sasl-reports <BOOL>Enables or disables SASL reporting
--no-haltDoes not halt the Erlang VM after execution
--werlUses Erlang's Windows shell GUI (Windows only)
--cookie <COOKIE>Sets a cookie for this distributed node
--hiddenMakes a hidden node
--name <NAME>Makes and assigns a name to the distributed node
--rpc-eval <NODE> <COMMAND>
  • Repeatable ♾
--sname <NAME>Makes and assigns a short name to the distributed node
--boot <FILE>Uses the given FILE.boot to start the system
--boot-var <VAR> <VALUE>
  • Repeatable ♾
--erl-config <FILE>
  • Repeatable ♾
--pipe-to <PIPEDIR> <LOGDIR>Starts the Erlang VM as a named PIPEDIR and LOGDIR
--vm-args <FILE>Passes the contents in file as arguments to the VM
--dot-iex <PATH>Overrides default .iex.exs file and uses path instead; path can be empty, then no file will be loaded
--remsh <NAME>Connects to a node using a remote shell