You are viewing an outdated version of the documentation.

This documentation is for an older version (1.4.7) of Dagster. You can view the version of this page from our latest release below.

Installing Dagster#

Requirements#

Dagster supports Python 3.8+.

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 dagster-webserver

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 dagster-webserver --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 the Dagster webserver/UI into an existing Poetry project, run:

poetry add dagster dagster-webserver

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 dagster-webserver