Install project plus optional development dependencies.
Section: pyproject.toml patterns
Install editable with dev extras
bash
bash
python -m pip install -e ".[dev,test]"Explanation
Useful when your project defines optional dependency groups for contributors.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing pyproject.toml patterns
Install project editable from pyproject
Install the current project into the venv in editable mode.
Minimal pyproject.toml example
Basic modern packaging metadata for a local project.
Create project and venv
Create a project folder and initialize a virtual environment.