Prerequisites
Dagster requires Python 3.10 or higher. Before installing, verify your Python version:
Installation Methods
- uv (Recommended)
- pip
- From editable source
uv is the fastest Python package manager and is recommended for new projects.
Install Dagster
Install Dagster and the web server:This installs:
dagster- Core library for defining assets and pipelinesdagster-webserver- Web UI for monitoring and orchestrationdagster-dg-cli- Command-line tools for project management
Optional Dependencies
Dagster has a rich ecosystem of integrations. Install additional libraries as needed:See the full list of integrations in the official documentation.
Development Dependencies
For testing and development, install additional tools:Verify Your Installation
Create a simple test to verify everything works:test_dagster.py
Platform-Specific Notes
Windows
Windows
Dagster automatically installs Windows-specific dependencies:
psutil>=1.0for process managementpywin32!=226for Windows API access
macOS with Apple Silicon
macOS with Apple Silicon
Most packages work natively on Apple Silicon (M1/M2/M3). If you encounter issues:
Linux
Linux
Dagster works on all major Linux distributions. Ensure you have:
- Python development headers:
sudo apt-get install python3-dev(Ubuntu/Debian) - Build tools:
sudo apt-get install build-essential
Next Steps
Quickstart Tutorial
Build your first Dagster asset in 5 minutes
Official Documentation
Explore comprehensive guides and API reference
Troubleshooting
ImportError or ModuleNotFoundError
ImportError or ModuleNotFoundError
Ensure your virtual environment is activated and Dagster is installed in the correct environment:
Version conflicts
Version conflicts
Dagster requires specific version ranges for dependencies. If you encounter conflicts:
Permission errors on Linux/macOS
Permission errors on Linux/macOS
Don’t use
sudo with pip. Instead, use a virtual environment or user installation: