Installation
Choose an installation method based on your needs:
| Method | When to use |
|---|---|
| Docker | Runs in an isolated container, separated from your host system. |
| Bare Metal | The AI works directly on your machine — your real files, tools, and environment. |
| Docker Compose | You already run Hrida.ai with Docker Compose and want to add Hrida Terminal to it. |
Select your method below, then follow the steps.
- Docker
- Bare Metal
- Docker Compose
Requires Docker.
1. Start the container
docker run -d \
--name hrida-terminal \
--restart unless-stopped \
-p 8000:8000 \
-v hrida-terminal:/home/user \
-e HRIDA_TERMINAL_API_KEY=your-secret-key \
ghcr.io/hrida-ai/hrida-terminalReplace your-secret-key with a password of your choice.
Command breakdown
| Flag | Purpose |
|---|---|
-d | Run in background |
--name hrida-terminal | Container name for reference |
--restart unless-stopped | Auto-restart on reboot |
-p 8000:8000 | Expose on http://localhost:8000 |
-v hrida-terminal:/home/user | Persist files across restarts |
-e HRIDA_TERMINAL_API_KEY=... | Authentication key |
2. Verify
Open http://localhost:8000/docs in your browser. You should see the Hrida Terminal API page.
Auto-generated API key
If no API key was set, one is generated automatically. Find it with:
docker logs hrida-terminal