commands.sh

pip freeze

all

List installed packages in requirements format.

More info →

Options (1)

-l, --localboolean

List installed packages in a virtual environment, excluding globally installed packages

Example: pip freeze {{[-l|--local]}}

Examples (5)

List installed packages

Write installed packages to the `requirements.txt` file

pip freeze > requirements.txt

List installed packages in a virtual environment, excluding globally installed packages

pip freeze [-l|--local]

List installed packages in the user-site

pip freeze --user

List all packages, including `pip`, `distribute`, `setuptools`, and `wheel` (they are skipped by default)

made by @shridhargupta | data from tldr-pages