pip-freeze(1)

pip-freeze1

Description of pip freeze command

Overview

Output installed packages in requirements format.

packages are listed in a case-insensitive sorted order.

Usage

python -m pip freeze [options]

Options

-r, --requirement <file>

Use the order in the given requirements file and its comments when generating output. This option can be used multiple times.

(environment variable: PIP_REQUIREMENT)

-l, --local

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

(environment variable: PIP_LOCAL)

--user

Only output packages installed in user-site.

(environment variable: PIP_USER)

--path <path>

Restrict to the specified installation path for listing packages (can be used multiple times).

(environment variable: PIP_PATH)

--all

Do not skip these packages in the output: pip

(environment variable: PIP_ALL)

--exclude-editable

Exclude editable package from output.

(environment variable: PIP_EXCLUDE_EDITABLE)

--exclude <package>

Exclude specified package from the output

(environment variable: PIP_EXCLUDE)

Releases

2 releases since Debian 13 (Trixie); the text changed 1 time.

  1. 13
  2. Arch

Author

pip developers

From python-pip 26.2.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.