> ## Documentation Index
> Fetch the complete documentation index at: https://instabox.sh/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Herdr

> Run Herdr on an instabox machine and open it over SSH.

[Herdr](https://herdr.dev) runs coding agents in terminal panes. It runs on the machine, and you open
it over SSH.

You need the [instabox CLI](https://instabox.sh/docs/quickstart.md).

**1. Create a machine and install Herdr**

```bash theme={null}
instabox create --name cloud-dev
instabox exec cloud-dev -- 'curl -fsSL https://herdr.dev/install.sh | sh'
instabox exec cloud-dev -- sudo ln -sfn /data/home/.local/bin/herdr /usr/local/bin/herdr
```

A machine from the `herdr` template has Herdr already.

**2. Open Herdr**

```bash theme={null}
instabox ssh cloud-dev
herdr
```

![Herdr open in a terminal on the machine](https://mintcdn.com/instacloud/b72KZBOUzt4ZOM7d/images/herdr/herdr-open.png?fit=max\&auto=format\&n=b72KZBOUzt4ZOM7d\&q=85\&s=48e5770d16e2ea6ad807365430b2a092)

**3. Leave and come back**

Press **ctrl+b**, then **q**. The agents keep running. Run `herdr` again to come back.

> [!NOTE]
>
> `instabox ssh` wakes a machine that paused itself. See
> [what wakes a machine](https://instabox.sh/docs/machines/auto-pause.md#what-wakes-a-machine).

> [accordion] Open Herdr with one ssh command
>
> The machine's **Integrations → Herdr** in the dashboard shows this command.
>
> ```bash theme={null}
> ssh -t -o StrictHostKeyChecking=accept-new -p 2222 ibssh_…@ssh.instabox.sh herdr
> ```

> [card] [SSH](https://instabox.sh/docs/access/ssh.md)
>
> Shells, commands, and SSH tokens.

> [card] [Auto-pause and max-run](https://instabox.sh/docs/machines/auto-pause.md)
>
> What counts as idle and what wakes a machine.
