pip-freeze
List installed packages in requirements format. tldr-pages
On several platforms
Several platforms
List installed packages
pip freezeIdentifyWrite installed packages to the requirements.txt file
pip freeze >requirements.txtIdentifyList installed packages in a virtual environment, excluding globally installed packages
pip freeze --localIdentifyList installed packages in the user-site
pip freeze --userIdentifyList all packages, including pip, distribute, setuptools, and wheel (they are skipped by default)
pip freeze --allIdentify