Installing Dagster
To follow the steps in this guide, you'll need to install Python 3.9 or higher. Python 3.13 is recommended.
To get started with Dagster, you can scaffold a new project with the create-dagster CLI (recommended), manually create a new project, or update an existing project to install Dagster dependencies.
- Installation requirements for using the create-dagsterCLI
- Installation requirements for manually creating or updating a project
Installation requirements for using the create-dagster CLI
If you're just getting started with Dagster, we recommend scaffolding a new project with the create-dagster command line utility, which will generate a Dagster project with our recommended structure and required dependencies.
- uv (Recommended)
- Homebrew
- curl
Install the Python package manager uv:
- Mac
- Windows
- Linux
brew install uv
powershell -ExecutionPolicy ByPass -c 'irm https://astral.sh/uv/install.ps1 | iex'
curl -LsSf https://astral.sh/uv/install.sh | sh
Installing uv will install the uvx command, which allows you to execute commands without having to install packages directly. You can run the create-dagster command using uvx:
uvx create-dagster@latest project my-project
The create-dagster command line utility is available in a Homebrew tap:
brew install dagster-io/tap/create-dagster
After installation, you can run the create-dagster command:
create-dagster project my-project
Use curl to download a standalone installation script for the create-dagster command line utility and execute it with sh:
curl -LsSf https://dg.dagster.io/create-dagster/install.sh | sh
After installation, you can run the create-dagster command:
create-dagster project my-project