Skip to main content

dg

info

dg and Dagster Components are under active development. You may encounter feature gaps, and the APIs may change. To report issues or give feedback, please join the #dg-components channel in the Dagster Community Slack.

dg is a new command line interface that provides a streamlined Dagster development experience. It is a drop-in replacement for the Dagster CLI that can be used in existing projects or in new Dagster projects created with the create-dagster CLI. Once a project is set up to use dg, you can list, check, and scaffold Dagster definitions and components with ease.

Installing the create-dagster CLI

New projects can be created using the create-dagster CLI. You can install create-dagster from a package manager or via curl with our standalone installer script.

First, install the Python package manager uv if you don't have it:

brew install uv

For more detailed uv installation instructions, see the uv docs.

We recommend running create-dagster using uvx:

uvx create-dagster project my-project

This runs create-dagster in a temporary, isolated Python environment.

While it is also possible to create a virtual environment and install create-dagster into it with uv, using uvx better supports multiple Python projects and doesn't require an explicit install step.

Once you have create-dagster installed (or available to run via uvx), see the creating a new project guide to use it to create dg projects.