Overview
The GAIA CLI provides commands for setup, running, logs, health checks, and shutdown.All Commands
gaia init
Complete first-time setup.
- 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.
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.
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:

