Setup Guide

Get your machine ready to run exercises

Requirements #

  • Python 3.12+
  • uv
  • Git

That’s it.

Mac #

# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh

# Clone and sync
git clone https://github.com/dvhthomas/learn-databricks.git
cd learn-databricks
uv sync

Linux #

Same as Mac:

curl -LsSf https://astral.sh/uv/install.sh | sh
git clone https://github.com/dvhthomas/learn-databricks.git
cd learn-databricks
uv sync

Run an exercise #

uv run python modules/02-delta-lake/exercises/delta_writer.py

Run the tutorial site #

cd site && uv run hugo server --buildDrafts

Databricks modules #

Modules 1, 4, 5, and 6 run in Databricks notebooks, not locally. You’ll need: