Quickstart

Get a green check in under 2 minutes: init → check → compile.

1) Install the CLI

npm install -g @deet/compiler

2) Create a project

deet init my-project
cd my-project

This creates a rxg.toml config and a starter module at src/main.dt.

3) Typecheck

deet check

If types are clean, the command exits 0. If not, you'll get actionable diagnostics with file/line + a hint.

4) Compile SQL

deet compile --target duckdb --out dist

By default, --target is duckdb. Use postgres, bigquery, or snowflake as needed.

Next