> ## Documentation Index
> Fetch the complete documentation index at: https://hoopdev-update-to-meta-tags.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Elixir IEx

> Interact with the IEx console or execute ad-hoc scripts.

## Prerequisites

To get the most out of this guide, you will need to:

* Either [create an account in our managed instance](https://use.hoop.dev) or [deploy your own hoop.dev instance](/getting-started/installation/overview)
* You must be your account administrator to perform the following commands

## Configuration

To proxy the `iex -S mix` command, execute the following command within your root application path.

```bash
hoop run --name iexc-demo --command 'iex -S mix'
```

To proxy ad-hoc executions add the command `iex -S mix -` .

```bash
hoop run --name iexc-demo --command 'iex -S mix -'
```

## How to Use

Users can now connect and perform ad-hoc executions.

```bash
hoop connect iexc-demo
```

```bash
hoop exec iexc-demo -i 'puts "Hello World"'
```
