pip list

Usage

pip list [options]

Description

List installed packages, including editables.

Options

-o, --outdated

List outdated packages (excluding editables)

-u, --uptodate

List uptodate packages (excluding editables)

-e, --editable

List editable projects.

-l, --local

If in a virtualenv that has global access, do not list globally-installed packages.

--pre

Include pre-release and development versions. By default, pip only finds stable versions.

-i, --index-url <url>

Base URL of Python Package Index (default https://pypi.python.org/simple/).

--extra-index-url <url>

Extra URLs of package indexes to use in addition to –index-url.

--no-index

Ignore 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. If a local path or file:// url that’s a directory, then look for archives in the directory listing.

--allow-external <package>

Allow the installation of externally hosted files

--allow-all-external

Allow the installation of all externally hosted files

--allow-unverified <package>

Allow the installation of insecure and unverifiable files

Enable the processing of dependency links.

Examples

  1. List installed packages.
$ pip list
Pygments (1.5)
docutils (0.9.1)
Sphinx (1.1.2)
Jinja2 (2.6)
  1. List outdated packages (excluding editables), and the latest version available
$ pip list --outdated
docutils (Current: 0.9.1 Latest: 0.10)
Sphinx (Current: 1.1.2 Latest: 1.1.3)