Set up local

  • To install git. Refer to the Git documentation if you don’t have this installed.
  • To have Python installed. Dagster supports Python 3.9 - 3.12.
  • 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.

ssh

git clone git@github.com:dagster-io/project-dagster-university.git

https

git 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 dagster_university/dagster_essentials

Install the dependencies

uv

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]"

Create .env file

You will want to make a copy of the example file .env.example which will be used later on.

cp .env.example .env