Skip to main content

Overview

Use the GAIA CLI for day-to-day setup and running. Under the hood, GAIA uses mise + Nx.
  • GAIA CLI - primary interface for setup, run, status, and logs
  • mise - task runner and tool version manager (advanced/direct usage)
  • Nx - build system with caching and project graph

Quick Start


GAIA CLI Commands

Run from project root. Use gaia stop --force-ports only when needed to aggressively clear listeners on API/Web ports.

Development Commands (Advanced: mise)

Run from project root.

Setup Commands


Build Commands


Code Quality

Linting

Formatting

Type Checking


Testing


Pre-commit Hooks

GAIA uses prek for pre-commit hooks.

Clean & Maintenance


Nx Commands

Project Graph

Direct Nx Usage


API-Specific Commands

Run from apps/api/ or use mise -C apps/api <task>.

Development

Code Quality

Security

Database


Web-Specific Commands

Run from apps/web/ or use mise -C apps/web <task>.

Mobile-Specific Commands

Run from apps/mobile/ or use mise -C apps/mobile <task>.

Desktop-Specific Commands

Run from apps/desktop/ or use mise -C apps/desktop <task>.

Common Workflows

Daily Development

Before Committing

CI/CD Pattern


Tips

Run Commands Anywhere

List All Tasks

Need Help?

  1. Ensure Docker is running (docker ps)
  2. Run gaia status to check service health
  3. Re-run setup with gaia setup if needed
  4. See Development Setup