Important
Did this article help?
We are currently doing research to improve pip’s documentation and would love your feedback. Please email us and let us know why you came to this page and what on it helped you and what did not. (Read more about this research)
pip cache#
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
py -m pip cache dir
py -m pip cache info
py -m pip cache list [<pattern>] [--format=[human, abspath]]
py -m pip cache remove <pattern>
py -m pip cache purge
Description#
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.
Options#
- --format <list_format>#
Select the output format among: human (default) or abspath
Important
Did this article help?
We are currently doing research to improve pip’s documentation and would love your feedback. Please email us and let us know:
What problem were you trying to solve when you came to this page?
What content was useful?
What content was not useful?