pip-uninstall(1)

pip-uninstall1

Description of pip uninstall command

Overview

Uninstall packages.

pip is able to uninstall most installed packages. Known exceptions are:

•

Pure distutils packages installed with python setup.py install, which leave behind no metadata to determine what files were installed.

•

Script wrappers installed by python setup.py develop.

Usage

python -m pip uninstall [options] <package> ...
python -m pip uninstall [options] -r <requirements file> ...

Options

-r, --requirement <file>

Uninstall all the packages listed in the given requirements file. This option can be used multiple times.

(environment variable: PIP_REQUIREMENT)

-y, --yes

Don't ask for confirmation of uninstall deletions.

(environment variable: PIP_YES)

--root-user-action <root_user_action>

Action if pip is run as a root user [warn, ignore] (default: warn)

(environment variable: PIP_ROOT_USER_ACTION)

--break-system-packages

Allow pip to modify an EXTERNALLY-MANAGED Python installation

(environment variable: PIP_BREAK_SYSTEM_PACKAGES)

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.