Overview
The GAIA CLI provides commands for setup, running, logs, health checks, and shutdown.All Commands
| Command | Description |
|---|---|
gaia init | Full setup from scratch — clone repo, configure env, and initialize services |
gaia setup | Configure an existing repository |
gaia start | Start GAIA services in self-host mode |
gaia dev | Run developer mode in Nx TUI (mise dev) |
gaia dev full | Run developer mode + workers in Nx TUI (mise dev:full) |
gaia logs | Stream logs for currently running services |
gaia stop | Stop running GAIA services |
gaia status | Check health and latency of GAIA services |
gaia --version | Display the current CLI version |
gaia --help | Show help and available commands |
gaia init
Complete first-time setup.
| Flag | Description |
|---|---|
--branch <name> | Clone a specific branch |
- Prerequisites (Git and Docker; Mise only for developer mode)
- Port conflict checks and alternatives
- Repository setup
- Environment setup (manual or Infisical)
- Project setup
gaia setup
Configure an existing GAIA repository.
gaia start
Start GAIA services in self-host mode.
| Flag | Description |
|---|---|
--build | Rebuild Docker images before starting |
--pull | Pull latest base images before starting |
In developer mode, use
gaia dev or gaia dev full instead of gaia start.gaia dev
Run developer mode in Nx TUI (foreground).
mise dev
gaia dev full
Run developer mode + workers in Nx TUI (foreground).
mise dev:full
gaia logs
Stream logs for currently running services.
- Self-host mode: streams Docker service logs.
- Developer mode: streams Docker logs and, when available, app logs.
gaia stop
Stop running GAIA services.
| Flag | Description |
|---|---|
--force-ports | Aggressively stop listeners on API/Web ports (may affect non-GAIA processes) |
gaia stop runs in safe mode and only targets GAIA-managed processes.
gaia status
Check health and latency of GAIA services.
Port Conflict Handling
If required ports are in use, the CLI:- Detects the conflicting process
- Suggests alternative ports
- Writes overrides to
infra/docker/.env
gaia start, gaia logs, and gaia status.
Upgrading
Updating GAIA
Updating the CLI
Uninstalling
- Stop all services:
gaia stop - Delete the repository directory
- Remove CLI metadata:
rm -rf ~/.gaia - Uninstall CLI:
Troubleshooting
command not found: gaia
command not found: gaia
Reinstall globally and open a new terminal session:
Raw mode is not supported
Raw mode is not supported
The CLI requires an interactive terminal. Don’t run it in a non-TTY context.
Python 3 not found during setup
Python 3 not found during setup
Install Python through Mise:

