Python venv + pip Cheat Sheet/Editable install of current project

Install the current project in editable mode.

Section: Editable and local installs

Editable install of current project

bash
bash
python -m pip install -e .
Explanation

Common for local development so changes are reflected without reinstalling.

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 Editable and local installs
Editable install with extras
Install development extras from pyproject or setup metadata.
OpenIn sheetbashsame section
Install from a wheel file
Install a local built wheel into the venv.
OpenIn sheetbashsame section
Install from a source tarball
Install a local source distribution file.
OpenIn sheetbashsame section
Install a requirements file
Install project dependencies from requirements.txt.
OpenIn sheetbash1 tag match
Show package install location
Display metadata and install location for a package.
OpenIn sheetbash1 tag match
Install development requirements
Install a second requirements file for dev-only tools.
OpenIn sheetbash1 tag match