dbt Lab

Learn dbt free on your own computer: a ready dbt project, seeds, models, tests, snapshots and docs, run with dbt Core and DuckDB in Docker. No warehouse, no dbt Cloud account.

Quick answer: Learn and run dbt on your own computer, with DuckDB.

Related: Learn dbt Free: Hands-On dbt Lab · Free Data Engineering Playgrounds: PySpark, Delta Lake and dbt

How to use the dbt Lab

Learn and run dbt on your own computer, with DuckDB.

dbt Lab is a free dbt playground that runs on your own computer. One Docker command starts dbt Core with DuckDB and a ready project (seeds, staging models, marts, tests and a macro). Edit files in an IDE-style editor on this page, run seed, run, test and build, preview any table, and see the lineage graph and dbt docs. No warehouse, no dbt Cloud account.

  1. Start the lab with the Docker commands
  2. Paste the token and connect
  3. Pick a lesson and press its dbt button

Tips

Example

Input: dbt build

Output: seeds, 6 models and 13 tests: PASS=21, with a preview of every table and the lineage graph

Browse by topic

Who uses Data Utility

Frequently asked questions · Data format benchmark

Frequently asked questions

Do I need a data warehouse or dbt Cloud?

No. dbt Core runs in Docker on your computer and writes to a DuckDB file. No account, no cloud bill.

What can I learn?

Seeds, models, source() and ref(), tests, Jinja and macros, incremental models, snapshots and docs, with 11 short lessons.

Can I use my own data?

Yes. Upload a CSV into seeds/, or generate seeds for your project in SQL Project Lineage.

What do I need to install?

Only Docker Desktop. The lab brings Python, dbt Core and DuckDB.

Is my project uploaded?

No. Files live in a Docker volume on your computer. This page talks only to the lab on localhost.

Which dbt version is it?

dbt Core 1.9 or newer with the dbt-duckdb adapter, shown in the status bar.

Related pages

Topic guides