Set up local

This will set up Dagster for you local machine. If you would prefer to do this course in Github Codespaces, please follow that guide.

  • To install git. Refer to the Git documentation if you don’t have this installed.
  • To have Python installed. Dagster supports Python 3.10 - 3.13 (3.12 recommended).
  • To install a package manager. To manage the python packages, we recommend uv which Dagster uses internally.

Clone the Dagster University project

Clone the Github repository. The command will depend on if you choose to clone with ssh or https:

OptionCommand
sshgit clone git@github.com:dagster-io/project-dagster-university.git
httpsgit clone https://github.com/dagster-io/project-dagster-university.git

After cloning the Dagster University project, navigate to the specific course directory within the repository. All courses are located inside the dagster_university folder.

For example, if you are completing "Dagster Essentials", change into that directory:

cd project-dagster-university/dagster_university/dagster_essentials

Install the dependencies

uv

If you do not have uv installed, you can do so in a number of ways. To install the python dependencies with uv. While in the course specific directory run the following:

uv sync

This will create a virtual environment and install the required dependencies. To enter the newly created virtual environment:

OSCommand
MacOSsource .venv/bin/activate
Windows.venv\Scripts\activate

pip

To install the python dependencies with pip. While in the course specific directory run the following:

python3 -m venv .venv

This will create a virtual environment. To enter the newly created virtual environment:

OSCommand
MacOSsource .venv/bin/activate
Windows.venv\Scripts\activate

To install the required dependencies:

pip install -e ".[dev]"