Skip to main content

Installation

Choose an installation method based on your needs:

MethodWhen to use
DockerRuns in an isolated container, separated from your host system.
Bare MetalThe AI works directly on your machine — your real files, tools, and environment.
Docker ComposeYou already run Open WebUI with Docker Compose and want to add Open Terminal to it.

Select your method below, then follow the steps.

Requires Docker.

1. Start the container

docker run -d \
--name open-terminal \
--restart unless-stopped \
-p 8000:8000 \
-v open-terminal:/home/user \
-e OPEN_TERMINAL_API_KEY=your-secret-key \
ghcr.io/open-webui/open-terminal

Replace your-secret-key with a password of your choice.

Command breakdown
FlagPurpose
-dRun in background
--name open-terminalContainer name for reference
--restart unless-stoppedAuto-restart on reboot
-p 8000:8000Expose on http://localhost:8000
-v open-terminal:/home/userPersist files across restarts
-e OPEN_TERMINAL_API_KEY=...Authentication key

2. Verify

Open http://localhost:8000/docs in your browser. You should see the Open Terminal API page.

Auto-generated API key

If no API key was set, one is generated automatically. Find it with:

docker logs open-terminal

Next step

Connect to Open WebUI →