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

# Install Emplio with one command

> Install self-hosted Emplio with one command. It asks three questions, starts everything in Docker, and gives you a link that signs you in as the owner.

One command downloads Emplio to `~/emplio`, asks three questions, and starts it in Docker. At the end it prints a link that signs you in as the owner.

**1. Get Docker ready**

On a **Mac or Windows**, install [Docker Desktop](https://docs.docker.com/desktop/) and start it first. On Windows, run the command below in a WSL terminal. On a **Linux server**, the installer offers to install Docker for you.

**2. Run the installer**

```bash theme={null}
curl -fsSL https://emplio.app/install.sh | bash
```

**3. Answer three questions**

1. **Your OpenRouter key**, for the AI. Get one at [openrouter.ai/keys](https://openrouter.ai/keys). The installer checks it with OpenRouter.
2. **Your email**, for your owner account.
3. **Where is this running?** Pick **On this computer, just for me** or **On a server with its own web address**. For a server, type your web address, or leave it empty for a free one. See [Run it on a server](https://docs.emplio.app/self-host/server.md).

**4. Open your sign-in link**

When it says **Emplio is ready**, open the link it prints. It signs you in as the owner and works only once. On a computer it opens by itself, and Emplio is at `http://localhost:3000`.

## Computer or server

| | On this computer | On a server |
| - | - | - |
| Web address | `http://localhost:3000` | `https://` your address |
| Who can open it | Only this machine | Anyone with an account |
| HTTPS | Not needed | Set up for you |

Over SSH, the installer picks **server** for you; press Enter to keep it.

## Add your team

Add people from the **Team** page. Until you set up email, their sign-in codes go to the log:

```bash theme={null}
cd ~/emplio && docker compose logs app | grep "sign-in code"
```

To have codes emailed, see [Optional features](https://docs.emplio.app/self-host/optional-features.md).

> [!TIP]
>
> To install somewhere other than `~/emplio`, set `EMPLIO_DIR` before the command. To run your own changes to the code, see [Build from source](https://docs.emplio.app/developers/build-from-source.md).

> [card] [Requirements](https://docs.emplio.app/self-host/requirements.md)
>
> Memory, ports and keys to plan for.

> [card] [Optional features](https://docs.emplio.app/self-host/optional-features.md)
>
> Turn on email, Telegram, apps and more.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.