iex <command> [command]

Elixir Interactive Shell

Arguments

NameDescription
command.exs file
command

Options

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