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:
# Print the embedded Dana v0.7 Language Reference (or a specific section)dana guidedana guide Privacy
# Check types, schemas, privacy tags, and dana.policy ceilings offlinedana check examples/expenses.dana examples/enrollment-report.dana
# Execute inline `examples` and `test` blocks on the vectorized VMdana test examples/
# Run a pipeline over CSV, Parquet, Excel, SQLite, PostgreSQL, or local servicesdana run examples/expenses.dana -- data/october.csvdana run --db Seminary=sqlite:///path/to/seminary.db examples/enrollment-report.danadana run --local-http MoShop=ready:/tmp/mo-ready.json sync.dana
# Inspect optimized plans, parameterized SQL pushdown, and sensitivity provenancedana explain --dialect sqlite examples/enrollment-report.dana
# Preview redacted database/file/network writes strictly read-onlydana dry-run --db Seminary=sqlite:///path/to/seminary.db examples/registrar-sync.dana
# Launch the safe, read-only, privacy-redacted interactive REPLdana repl --db Seminary=sqlite:///path/to/seminary.dbAI-Safe by Default
Section titled “AI-Safe by Default”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.