Scroll to navigation
IEX(1) |
General Commands Manual |
IEX(1) |
NAME¶
iex
—
The Elixir shell
DESCRIPTION¶
The interactive shell is used for evaluation, debugging and introspection of the
Elixir runtime system. It is also possible to use the program for testing the
work of small pieces of code escaping the stage of saving the code in a file.
OPTIONS¶
Note that many of the options mentioned here were borrowed from the Erlang
shell, therefore erl(1) can be used as an additional source
of information on the options.
--dot-iex
file
- Loads the specified file instead of .iex.exs (see
the FILES section).
--remsh
node
- Connects to the specified node which was started with the
--sname
or --name
options
(see above).
--
- Separates the options passed to the compiler from the options passed to
the executed code.
FILES¶
- ~/.erlang.cookie
- Stores the magic cookie value which is used only when it wasn't specified
via the option
--cookie
(see above). If the file
doesn't exist when a node starts, it will be created.
- .iex.exs
- After
iex
starts, it seeks the file
.iex.exs and, in a case of success, executes the
code from the file in the context of the shell. At first the search starts
in the current working directory, then, if necessary, it continues in the
home directory.
AUTHOR¶
This manual page contributed by Evgeny Golyshev.