LinuxCommandLibrary

pip-list

TLDR

List installed packages

$ pip list
copy
List outdated packages
$ pip list --outdated
copy
List in JSON format
$ pip list --format json
copy
List user packages only
$ pip list --user
copy
List editable packages
$ pip list --editable
copy

SYNOPSIS

pip list [options]

DESCRIPTION

pip list displays installed Python packages with their versions. Can filter by outdated, up-to-date, or editable packages. Supports multiple output formats including JSON for scripting.

PARAMETERS

-o, --outdated

Show only outdated packages.
-u, --uptodate
Show only up-to-date packages.
-e, --editable
Show only editable packages.
-l, --local
Show only virtualenv packages.
--user
Show only user packages.
--format format
Output format (columns, freeze, json).
--not-required
Show packages not required by others.

SEE ALSO

pip(1), pip-freeze(1), pip-show(1)

Copied to clipboard