Installing Dagster#

Requirements#

Dagster requires Python 3.7+ and has been tested on Python 3.10, 3.9, 3.8, and 3.7.

To check that Python and the pip package manager are already installed in your environment, you can run:

python --version
pip --version

Installing Dagster into an existing Python environment#

Note: We strongly recommend installing Dagster inside a Python virtualenv. If running Anaconda, install Dagster inside a Conda environment.

To install the latest stable version of the core Dagster packages in your current Python environment, run:

pip install dagster dagit

Using a Mac with an M1 or M2 chip? Some users have reported installation errors due to missing wheels for arm64 Macs when installing the grpcio package. You can avoid these errors by installing dagster using our pre-built wheel of the grpcio package for M1 and M2 machines:

pip install dagster dagit --find-links=https://github.com/dagster-io/build-grpcio/wiki/Wheels

Installing Dagster from source#

To install Dagster from source, refer to the Contributing guide.


Installing Dagster using Poetry#

To install Dagster and Dagit into an existing Poetry project, run:

poetry add dagster dagit

Using a Mac with an M1 or M2 chip? Some users have reported installation problems due to missing wheels for arm64 Macs when installing the grpcio package. You can avoid these errors by installing dagster using our pre-built wheel of the grpcio package for M1 and M2 machines:

poetry source add grpcio https://github.com/dagster-io/build-grpcio/wiki/Wheels
poetry add dagster dagit