Forrest logo
tool overview
On this page you find all important commands for the CLI tool iex. If the command you are looking for is missing please ask our AI.

iex

IEX, short for Interactive Elixir, is a command line tool used for running Elixir code interactively. It is a powerful feature of the Elixir programming language.

  1. IEX allows you to execute code in real-time, providing a REPL (Read-Eval-Print Loop) environment where you can experiment, debug, and test Elixir code snippets.

  2. It is installed along with the Elixir programming language and can be accessed by simply typing "iex" in the command prompt.

  3. With IEX, you can load and evaluate modules, call functions, and even define new functions and modules on-the-fly.

  4. It provides a friendly and colorful shell that supports autocompletion, syntax highlighting, and history navigation, enhancing productivity and ease of use.

  5. IEX also offers features like documentation lookup, allowing you to quickly access information about any function, module, or built-in keyword.

  6. It supports multiple shells, including a standard shell (iex) and an alternative shell designed for embedding (iex -S mix).

  7. IEX has built-in tools for debugging, such as breakpoints, tracing, and inspecting process states, enabling effective problem-solving and code troubleshooting.

  8. It supports hot code swapping, which means you can update and reload modules without the need to restart the entire Elixir application.

  9. IEX provides a friendly community, allowing users to ask questions, share their knowledge, and learn from other Elixir developers.

  10. It is an indispensable tool for Elixir developers, helping them write, test, and explore code in an interactive and efficient manner.

List of commands for iex:

tool overview