Skip to content

Quickstart CLI

Once dana is installed, you have the entire compiler, vectorized VM, SQL pushdown planner, safe REPL, and embedded Language Reference in a single binary:

Terminal window
# Print the embedded Dana v0.7 Language Reference (or a specific section)
dana guide
dana guide Privacy
# Check types, schemas, privacy tags, and dana.policy ceilings offline
dana check examples/expenses.dana examples/enrollment-report.dana
# Execute inline `examples` and `test` blocks on the vectorized VM
dana test examples/
# Run a pipeline over CSV, Parquet, Excel, SQLite, PostgreSQL, or local services
dana run examples/expenses.dana -- data/october.csv
dana run --db Seminary=sqlite:///path/to/seminary.db examples/enrollment-report.dana
dana run --local-http MoShop=ready:/tmp/mo-ready.json sync.dana
# Inspect optimized plans, parameterized SQL pushdown, and sensitivity provenance
dana explain --dialect sqlite examples/enrollment-report.dana
# Preview redacted database/file/network writes strictly read-only
dana dry-run --db Seminary=sqlite:///path/to/seminary.db examples/registrar-sync.dana
# Launch the safe, read-only, privacy-redacted interactive REPL
dana repl --db Seminary=sqlite:///path/to/seminary.db

Every diagnostic, bad_rows quarantine record, dana dry-run diff, and dana repl preview checks sensitivity metadata automatically—redacting [pii] and [ferpa] values so neither humans nor AI agents leak student or customer records while debugging pipelines.