# \#iex

**URL:** https://forum.elixirforum.com/tag/iex/8.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [Hologram compiler and iex -S mix](https://forum.elixirforum.com/t/hologram-compiler-and-iex-s-mix/72860)

<div class="topic-metadata">

**Author:** [@dillonoconnor](https://forum.elixirforum.com/u/dillonoconnor)\
**Replies:** 3\
**Last updated:** [September 22, 2026, 3:36pm UTC](https://forum.elixirforum.com/t/hologram-compiler-and-iex-s-mix/72860 "2026-09-22T15:36:59Z")

</div>

Is there any way to avoid the Hologram compiler running when using iex? It seems like the front-end code could potentially be disregarded in this situation. The compiler slows the shell opening by at least a few seconds …

---

## [Information about mix project from iex](https://forum.elixirforum.com/t/information-about-mix-project-from-iex/75575)

<div class="topic-metadata">

**Author:** [@cevado](https://forum.elixirforum.com/u/cevado)\
**Replies:** 1\
**Last updated:** [June 4, 2026, 9:09pm UTC](https://forum.elixirforum.com/t/information-about-mix-project-from-iex/75575 "2026-06-04T21:09:28Z")

</div>

How is the proper way to get information about the running app from iex? Should I trust Mix.Project info? is it always relliable or is there a better way to access such information. I most worried about: what is the …

---

## [Has any tool for search/view history of IEx](https://forum.elixirforum.com/t/has-any-tool-for-search-view-history-of-iex/74522)

<div class="topic-metadata">

**Author:** [@manhvu](https://forum.elixirforum.com/u/manhvu)\
**Replies:** 4\
**Last updated:** [March 5, 2026, 2:07pm UTC](https://forum.elixirforum.com/t/has-any-tool-for-search-view-history-of-iex/74522 "2026-03-05T14:07:10Z")

</div>

Recently, I’ve been working with Nx/Axon. Training a model can take quite a long time, so I often return to the same IEx session later. However, I couldn’t find a way to search the command history or list all previous c…

---

## [Disable automatic recompilation in IEx](https://forum.elixirforum.com/t/disable-automatic-recompilation-in-iex/72919)

<div class="topic-metadata">

**Author:** [@nicnilov](https://forum.elixirforum.com/u/nicnilov)\
**Replies:** 5\
**Last updated:** [October 16, 2025, 12:15pm UTC](https://forum.elixirforum.com/t/disable-automatic-recompilation-in-iex/72919 "2025-10-16T12:15:07Z")

</div>

Recently I noticed that when I save a source file from my editor while having an IEx session running, the latter automatically recompiles my project. I’m pretty sure this never happened before, even though an LLM states …

---

## [Is tab selection(cycling) possible in IEx?](https://forum.elixirforum.com/t/is-tab-selection-cycling-possible-in-iex/72210)

<div class="topic-metadata">

**Author:** [@kasvith](https://forum.elixirforum.com/u/kasvith)\
**Replies:** 5\
**Last updated:** [August 23, 2025, 9:20pm UTC](https://forum.elixirforum.com/t/is-tab-selection-cycling-possible-in-iex/72210 "2025-08-23T21:20:00Z")

</div>

Hello, Im using IEx with MacOS. I can type a module name and press \[TAB\] key to get an autocompletion list like follows. Is there any way to use \[TAB\] or other key to make a selection from the autocomplete list with IEx…

---

## [Processes linked to IEx are not killed when IEx exits](https://forum.elixirforum.com/t/processes-linked-to-iex-are-not-killed-when-iex-exits/72188)

<div class="topic-metadata">

**Author:** [@Szetty](https://forum.elixirforum.com/u/Szetty)\
**Replies:** 9\
**Last updated:** [August 23, 2025, 5:50pm UTC](https://forum.elixirforum.com/t/processes-linked-to-iex-are-not-killed-when-iex-exits/72188 "2025-08-23T17:50:58Z")

</div>

Hello, So I have learnt a new thing recently, processes spawned in an IEx shell are not terminated after IEx exists, not even if they were started using link. The same obviously is not true for any two processes linked …

---

## [How to stop input inside iex](https://forum.elixirforum.com/t/how-to-stop-input-inside-iex/13098)

<div class="topic-metadata">

**Author:** [@ijverig](https://forum.elixirforum.com/u/ijverig)\
**Replies:** 6\
**Last updated:** [August 8, 2025, 3:59pm UTC](https://forum.elixirforum.com/t/how-to-stop-input-inside-iex/13098 "2025-08-08T15:59:17Z")

</div>

How could I send an EOF/EOT inside an input in iex? Say inside iex\> IO.read :all Usually we do it by pressing ctrl+D on other shells, but that’s something else in Erlang. If there isn’t a way, how could I stop the in…

---

## [Elixir / Erlang docker containers RAM usage on different OS's / Kernels](https://forum.elixirforum.com/t/elixir-erlang-docker-containers-ram-usage-on-different-oss-kernels/57251)

<div class="topic-metadata">

**Author:** [@luechtdev](https://forum.elixirforum.com/u/luechtdev)\
**Replies:** 19\
**Last updated:** [August 5, 2025, 8:28am UTC](https://forum.elixirforum.com/t/elixir-erlang-docker-containers-ram-usage-on-different-oss-kernels/57251 "2025-08-05T08:28:59Z")

</div>

On my development VM (specs see below) - starting an elixir / erlang container takes up 2G of physical memory while running iex locally only takes up a few MB. I only started an empty container with no modules loaded or…

---

## [user-switch-command fails to start an iex shell](https://forum.elixirforum.com/t/user-switch-command-fails-to-start-an-iex-shell/71491)

<div class="topic-metadata">

**Author:** [@panchog](https://forum.elixirforum.com/u/panchog)\
**Replies:** 0\
**Last updated:** [June 30, 2025, 2:51pm UTC](https://forum.elixirforum.com/t/user-switch-command-fails-to-start-an-iex-shell/71491 "2025-06-30T14:51:50Z")

</div>

Hello – Elixir newbee here. Today I’ve learned about the user-switch-command (IEx — IEx v1.20.2), and doing an s iex fails with an error message mentioning set\_unicode\_state On the same session, doing an s shell opens …

---

## [iex: Previous Command (Readline issue?)](https://forum.elixirforum.com/t/iex-previous-command-readline-issue/71249)

<div class="topic-metadata">

**Author:** [@patrickbucher](https://forum.elixirforum.com/u/patrickbucher)\
**Replies:** 1\
**Last updated:** [June 12, 2025, 8:54am UTC](https://forum.elixirforum.com/t/iex-previous-command-readline-issue/71249 "2025-06-12T08:54:25Z")

</div>

I’m using Elixir on Arch Linux, and a recent update destroyed the capability of iex to retrieve earlier lines using the up arrow or the according readline command (Ctrl-P). $ iex --version Erlang/OTP 28 \[erts-16.0\] \[sou…

---

## [Is it possible to push text into a running \`iex\`?](https://forum.elixirforum.com/t/is-it-possible-to-push-text-into-a-running-iex/71211)

<div class="topic-metadata">

**Author:** [@tcoopman](https://forum.elixirforum.com/u/tcoopman)\
**Replies:** 4\
**Last updated:** [June 10, 2025, 3:14pm UTC](https://forum.elixirforum.com/t/is-it-possible-to-push-text-into-a-running-iex/71211 "2025-06-10T15:14:35Z")

</div>

I just came across: GitHub - a3lem/replink: A handy CLI for executing code in a REPL in a separate pane · GitHub and thought it would be cool if we could do the same with iex. I’m often copy pasting stuff, sending it dir…

---

## [Raw terminal mode coming to OTP 28](https://forum.elixirforum.com/t/raw-terminal-mode-coming-to-otp-28/67491)

<div class="topic-metadata">

**Author:** [@zachallaun](https://forum.elixirforum.com/u/zachallaun)\
**Replies:** 15\
**Last updated:** [May 24, 2025, 11:11pm UTC](https://forum.elixirforum.com/t/raw-terminal-mode-coming-to-otp-28/67491 "2025-05-24T23:11:30Z")

</div>

For anyone who’s worked on a terminal interface in Elixir, you may be excited to know that raw mode is coming to OTP 28: Implement lazy-read and noshell raw mode by garazdawi · Pull Request #8962 · erlang/otp · GitHub I…

---

## [Iex help command not working](https://forum.elixirforum.com/t/iex-help-command-not-working/70987)

<div class="topic-metadata">

**Author:** [@Ookma-Kyi](https://forum.elixirforum.com/u/Ookma-Kyi)\
**Replies:** 6\
**Last updated:** [May 23, 2025, 6:22pm UTC](https://forum.elixirforum.com/t/iex-help-command-not-working/70987 "2025-05-23T18:22:24Z")

</div>

I am currently enrolled in the Pragmatic Studio Elixir & OTP course and have just completed the section on module attributes. I have the following code: defmodule Servy.Handler do @moduledoc "Handles HTTP requests" …

---

## [Using brod for kafka message consumption. Can run on iex, but not when I run the application...](https://forum.elixirforum.com/t/using-brod-for-kafka-message-consumption-can-run-on-iex-but-not-when-i-run-the-application/70606)

<div class="topic-metadata">

**Author:** [@Guidonga](https://forum.elixirforum.com/u/Guidonga)\
**Replies:** 0\
**Last updated:** [April 23, 2025, 5:21pm UTC](https://forum.elixirforum.com/t/using-brod-for-kafka-message-consumption-can-run-on-iex-but-not-when-i-run-the-application/70606 "2025-04-23T17:21:56Z")

</div>

I’m trying to configure brod to consume messages from a kafka cluster. When I create the client via iex I can create a consumer for the topic - no error message is show. However, when I run the app, trying to use brod’s …

---

## [Cursor jumping around in IEX](https://forum.elixirforum.com/t/cursor-jumping-around-in-iex/38973)

<div class="topic-metadata">

**Author:** [@jamesbrauman](https://forum.elixirforum.com/u/jamesbrauman)\
**Replies:** 4\
**Last updated:** [April 19, 2025, 4:18am UTC](https://forum.elixirforum.com/t/cursor-jumping-around-in-iex/38973 "2025-04-19T04:18:13Z")

</div>

Hi there, I’ve just started learning Elixir. I have noticed an annoying problem when using IEX - the cursor jumps around when typing parenthesis. Please see this screen capture: https://imgur.com/a/OrjYuQ7 I found if I…

---

## [\`iex\` crashes with recent erlang installs](https://forum.elixirforum.com/t/iex-crashes-with-recent-erlang-installs/59004)

<div class="topic-metadata">

**Author:** [@marcandre](https://forum.elixirforum.com/u/marcandre)\
**Replies:** 8\
**Last updated:** [April 2, 2025, 12:24am UTC](https://forum.elixirforum.com/t/iex-crashes-with-recent-erlang-installs/59004 "2025-04-02T00:24:58Z")

</div>

iex errors when trying to output the result of an expression I type in for recent installs of erlang (errors with 26.1 and 26.1 but not 26.0.2). $ asdf shell erlang 26.0.2 $ iex Erlang/OTP 26 \[erts-14.0.2\] \[source\] \[64-…

---

## [How to leave out modules at runtime?](https://forum.elixirforum.com/t/how-to-leave-out-modules-at-runtime/70221)

<div class="topic-metadata">

**Author:** [@Alex321](https://forum.elixirforum.com/u/Alex321)\
**Replies:** 4\
**Last updated:** [March 31, 2025, 1:47pm UTC](https://forum.elixirforum.com/t/how-to-leave-out-modules-at-runtime/70221 "2025-03-31T13:47:57Z")

</div>

I work on a library that has a helper module. In that module there are a few macros that are needed at compile time, but are completely useless at runtime. What’s more, the presence of that module is annoying because IEx…

---

## [iex crashing when trying to name a shell, with error "shutdown,{failed\_to\_start\_child,'Elixir.Livebook.EPMD'"...](https://forum.elixirforum.com/t/iex-crashing-when-trying-to-name-a-shell-with-error-shutdown-failed-to-start-child-elixir-livebook-epmd/65410)

<div class="topic-metadata">

**Author:** [@delaroc2](https://forum.elixirforum.com/u/delaroc2)\
**Replies:** 3\
**Last updated:** [March 6, 2025, 12:25am UTC](https://forum.elixirforum.com/t/iex-crashing-when-trying-to-name-a-shell-with-error-shutdown-failed-to-start-child-elixir-livebook-epmd/65410 "2025-03-06T00:25:23Z")

</div>

Hi all, I’m using Fedora 40, Erlang/OTP 26, and Elixir 1.16.2. I’m trying to start a named shell, as per IEx Remote Shells documentation, using: $ iex --sname foo --cookie bar -S mix However, this command crashes wit…

---

## [Is it possible to choose completion items by pressing tab in iex?](https://forum.elixirforum.com/t/is-it-possible-to-choose-completion-items-by-pressing-tab-in-iex/69627)

<div class="topic-metadata">

**Author:** [@Stanislav-Lapata](https://forum.elixirforum.com/u/Stanislav-Lapata)\
**Replies:** 2\
**Last updated:** [February 26, 2025, 8:18am UTC](https://forum.elixirforum.com/t/is-it-possible-to-choose-completion-items-by-pressing-tab-in-iex/69627 "2025-02-26T08:18:47Z")

</div>

Is it possible to choose completion items by pressing tab. For example. I type IEx.conf and press tab after that I see IEx.configur I press tab again and see IEx.configur configuration/0 configure/1 Finally I wan…

---

## [IEx - Expose API to evaluate code inside IEx session for REPL Integrations](https://forum.elixirforum.com/t/iex-expose-api-to-evaluate-code-inside-iex-session-for-repl-integrations/69324)

<div class="topic-metadata">

**Author:** [@rekkice](https://forum.elixirforum.com/u/rekkice)\
**Replies:** 3\
**Last updated:** [February 10, 2025, 10:28pm UTC](https://forum.elixirforum.com/t/iex-expose-api-to-evaluate-code-inside-iex-session-for-repl-integrations/69324 "2025-02-10T22:28:39Z")

</div>

I’m building an editor integration to evaluate Elixir code in an IEx session. While Code.eval\_string/3 allows tracking variable bindings, i think there’s currently no way to persist the environment (aliases, imports, etc…

---

## [Connect to running app with iex?](https://forum.elixirforum.com/t/connect-to-running-app-with-iex/38222)

<div class="topic-metadata">

**Author:** [@vrod](https://forum.elixirforum.com/u/vrod)\
**Replies:** 6\
**Last updated:** [February 3, 2025, 9:13pm UTC](https://forum.elixirforum.com/t/connect-to-running-app-with-iex/38222 "2025-02-03T21:13:47Z")

</div>

We have an elixir app running in prod. I can SSH onto this box, but is it possible to connect to the app with an iex session? When I run ./bin/foobar start\_iex I get an error: Protocol 'inet\_tcp': the name foobar@ip-…

---

## [Can’t connect to remote shell(iex) in Docker (WSL) Elixir container](https://forum.elixirforum.com/t/can-t-connect-to-remote-shell-iex-in-docker-wsl-elixir-container/69063)

<div class="topic-metadata">

**Author:** [@JoaoSetas](https://forum.elixirforum.com/u/JoaoSetas)\
**Replies:** 0\
**Last updated:** [January 28, 2025, 6:03pm UTC](https://forum.elixirforum.com/t/can-t-connect-to-remote-shell-iex-in-docker-wsl-elixir-container/69063 "2025-01-28T18:03:42Z")

</div>

Hello everyone, I’m trying to set up the ElixirLS debugger to a remote node running inside a Docker container under WSL. My docker-compose.yml snippet looks like this: ports: - "4000:4000" - "4369:4369" - "9500:9…

---

## [Since when has iex -S mix started behaving like iex -S mix phx.server?](https://forum.elixirforum.com/t/since-when-has-iex-s-mix-started-behaving-like-iex-s-mix-phx-server/68580)

<div class="topic-metadata">

**Author:** [@DevotionGeo](https://forum.elixirforum.com/u/DevotionGeo)\
**Replies:** 2\
**Last updated:** [January 8, 2025, 10:47am UTC](https://forum.elixirforum.com/t/since-when-has-iex-s-mix-started-behaving-like-iex-s-mix-phx-server/68580 "2025-01-08T10:47:03Z")

</div>

I just noticed that iex -S mix behaved like iex -S mix phx.server. When did this change come?

---

## [Observer in iex -S mix error: (UndefinedFunctionError) function :wx\_object.start/3 is undefined](https://forum.elixirforum.com/t/observer-in-iex-s-mix-error-undefinedfunctionerror-function-wx-object-start-3-is-undefined/58544)

<div class="topic-metadata">

**Author:** [@dvic](https://forum.elixirforum.com/u/dvic)\
**Replies:** 13\
**Last updated:** [January 4, 2025, 10:18am UTC](https://forum.elixirforum.com/t/observer-in-iex-s-mix-error-undefinedfunctionerror-function-wx-object-start-3-is-undefined/58544 "2025-01-04T10:18:08Z")

</div>

Is there a known issue with :observer with Elixir 1.15 that I’m unaware of? I’ve added :observer to :extra\_applications but it gives this error: iex(1)\> :observer.start \*\* (UndefinedFunctionError) function :wx\_object.st…

---

## [How to configure iex behavior in Elixir release?](https://forum.elixirforum.com/t/how-to-configure-iex-behavior-in-elixir-release/67901)

<div class="topic-metadata">

**Author:** [@fcbry](https://forum.elixirforum.com/u/fcbry)\
**Replies:** 2\
**Last updated:** [December 5, 2024, 4:42pm UTC](https://forum.elixirforum.com/t/how-to-configure-iex-behavior-in-elixir-release/67901 "2024-12-05T16:42:51Z")

</div>

Long story short, huge domain name, non erlang users. Want to shrink down the width of the prompt as it’s making it difficult for users to enter commands and I’m trying to make the experience as pleasant as possible for …

---

## [Import a module from a file into IEX](https://forum.elixirforum.com/t/import-a-module-from-a-file-into-iex/5545)

<div class="topic-metadata">

**Author:** [@Brian](https://forum.elixirforum.com/u/Brian)\
**Replies:** 16\
**Last updated:** [November 20, 2024, 4:12am UTC](https://forum.elixirforum.com/t/import-a-module-from-a-file-into-iex/5545 "2024-11-20T04:12:47Z")

</div>

What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from . import xyz xyz.do\_something() I did a bit of google and this is what I found …

---

## [Extending IEx to have nREPL capabilities](https://forum.elixirforum.com/t/extending-iex-to-have-nrepl-capabilities/64872)

<div class="topic-metadata">

**Author:** [@cevado](https://forum.elixirforum.com/u/cevado)\
**Replies:** 27\
**Last updated:** [September 26, 2024, 3:52pm UTC](https://forum.elixirforum.com/t/extending-iex-to-have-nrepl-capabilities/64872 "2024-09-26T15:52:33Z")

</div>

IEx is a very powerfull shell and it would be awesome to have all this power integrated inside a code editor. Clojure enables something like that with nREPL. nrepl has a set of operations that it support. I think for El…

---

## [Multi-line history at the IEx prompt](https://forum.elixirforum.com/t/multi-line-history-at-the-iex-prompt/66135)

<div class="topic-metadata">

**Author:** [@fhunleth](https://forum.elixirforum.com/u/fhunleth)\
**Replies:** 3\
**Last updated:** [September 19, 2024, 8:35pm UTC](https://forum.elixirforum.com/t/multi-line-history-at-the-iex-prompt/66135 "2024-09-19T20:35:25Z")

</div>

I was looking into the state of multi-line history in IEx. To be clear, all I want is the ability to hit the up arrow and get back all of the lines of a multi-line expression. Ctrl-R working would be nice too. I found se…

---

## [Pretty print Erlang records in the iex shell](https://forum.elixirforum.com/t/pretty-print-erlang-records-in-the-iex-shell/65756)

<div class="topic-metadata">

**Author:** [@saleyn](https://forum.elixirforum.com/u/saleyn)\
**Replies:** 4\
**Last updated:** [September 1, 2024, 2:49am UTC](https://forum.elixirforum.com/t/pretty-print-erlang-records-in-the-iex-shell/65756 "2024-09-01T02:49:40Z")

</div>

Is there a way to import record definitions in the iex shell for pretty printing (similar to the rr command in the erl shell)? This would be very helpful when calling Erlang modules that return records.

---

## [How can I get autocomplete brackets, quote, etc functionality in iex](https://forum.elixirforum.com/t/how-can-i-get-autocomplete-brackets-quote-etc-functionality-in-iex/65509)

<div class="topic-metadata">

**Author:** [@warren84](https://forum.elixirforum.com/u/warren84)\
**Replies:** 3\
**Last updated:** [August 16, 2024, 5:51pm UTC](https://forum.elixirforum.com/t/how-can-i-get-autocomplete-brackets-quote-etc-functionality-in-iex/65509 "2024-08-16T17:51:41Z")

</div>

In iex, I would like to be able to type a \[, {, (, ", or ’ and have the corresponding closing element appear, leaving the cursor between them. No luck guessing or asking google. crtl-\] adds the closing \], }, or ) with th…

[Next page](https://forum.elixirforum.com/tag/iex/8.md?match_all_tags=true&page=1&tags%5B%5D=iex)
