PIP-CACHE(1)
π PIP-CACHE(1) β the pip manual, but make it cute π
okay bestie so real talk: this is the pip-cache(1) page from the pip manual set, and it's genuinely one of the most underrated little corners of the whole thing. it's all about your wheel cache. let's get into it π
β¨ NAME β¨
pip-cache β literally the description of the pip cache command. that's it, that's the name. iconic brevity, no notes π«Ά
π DESCRIPTION π
so what does it do? it lets you inspect and manage pip's wheel cache. like, look at it, poke it, clean it out. main character energy for your disk space, fr fr.
here are the subcommands, one per bullet, no skips:
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. π (dramatic but accurate)
and a lil note about patterns: <pattern> can be a glob expression or a package name. so like, you can be fancy with the wildcards or just say the name. both ate. β¨
π USAGE π
here's the whole vibe, verbatim, don't touch the code bestie:
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
like, look at that. clean. organized. slay.
π¦ OPTIONS π¦
--format <list_format>β picks the output format for you, bestie. the choices arehuman(that's the default, she's the moment) orabspath. that's it. those are the two. no cap. π- also! there's an environment variable you can set instead:
PIP_FORMATπΈ
- also! there's an environment variable you can set instead:
ngl, remembering that PIP_FORMAT exists is a flex. iykyk.
π AUTHOR π
pip developers π (the whole crew, we love them)
π COPYRIGHT π
The pip developers π (yes, same people, they also hold the copyright, as one does)
and that's the whole page, bestie! π you now know pip-cache better than most people know their own passwords.
signing off β this was version 25.1, dated Jun 26, 2025, and it's a whole vibe. mwah πβ¨
π¦ where this page comes from
- epel 9: python3.13-pip 25.1.1-1.el9 Β· MIT AND Python-2.0.1 AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MPL-2.0 AND (Apache-2.0 OR BSD-2-Clause)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms