pip-cache1
Description of pip cache command
Overview
Inspect and manage pip's wheel cache.
Subcommands:
- •
-
dir: Show the cache directory.
- •
-
info: Show information about the cache.
- •
-
list: List filenames of packages stored in the cache.
- •
-
remove: Remove one or more package from the cache.
- •
-
purge: Remove all items from the cache.
<pattern> can be a glob expression or a package name.
Usage
python -m pip cache dir python -m pip cache info python -m pip cache list [<pattern>] [--format=[human, abspath]] python -m pip cache remove <pattern> python -m pip cache purge
Options
-
--format <list_format> -
Select the output format among: human (default) or abspath
(environment variable:
PIP_FORMAT)
History
- Arch Linux 2026-11-01: the text shown here
- Debian 13 (Trixie)