pip list

List installed packages

Options

NameDescription
-o, --outdatedList outdated packages
-u, --uptodateList uptodate packages
-e, --editableList editable projects
-l, --localIf in a virtualenv that has global access, do not list globally-installed packages
--userOnly output packages installed in user-site
--path <path>
  • Repeatable ♾
--preInclude pre-release and development versions. By default, pip only finds stable versions
--formatSelect the output format among: columns (default), freeze, or json
--not-requiredList packages that are not dependencies of installed packages
--exclude-editableExclude editable package from output
--include-editableInclude editable package from output
--exclude <package>Exclude specified package from the output
-i, --index-url <arg>Base URL of the Python Package Index (default https://pypi.org/simple)
--extra-index-urlInclude pre-release and development versions. By default, pip only finds stable versions
--no-indexIgnore package index (only looking at --find-links URLs instead)
-f, --find-links <url>If a URL or path to an html file, then parse for links to archives such as sdist (.tar.gz) or wheel (.whl) files