IEX(1) | General Commands Manual | IEX(1) |
iex
— The Elixir
shell
iex |
[OPTIONS] |
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.
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.
-e
expression-r
fileiex
.-S
script-pa
directorySee also the function Code.prepend_path/1.
-pr
file-r
(see above) but in
parallel.-pz
directorySee also the function Code.append_path/1.
--app
application--erl
parametersSee also the function Node.set_cookie/2.
--detached
Connections between nodes are transitive. For example, if node
A is connected to node B, and node B is connected to node C, then node A
is connected to node C. The option --hidden
allows creating a node which can be connected to another node, escaping
redundant connections.
The function Node.list/0 allows getting the list of nodes connected to the target node, however the list won't include hidden nodes. Depending on the input parameter, the function Node.list/1 allows getting the list which contains only hidden nodes (the parameter :hidden) or both hidden and not hidden nodes (the parameter :connected).
--sname
name--name
name--dot-iex
file--remsh
node--sname
or --name
options
(see above).--
ELIXIR_ERL_OPTIONS
--cookie
(see above). If the file
doesn't exist when a node starts, it will be created.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.This manual page contributed by Evgeny Golyshev.
April 10, 2015 | Debian |