PIP-CACHE(1)

πŸ“¦
version 25.1.1 Β· 2 versions
, in epel 9

πŸŽ€ 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 are human (that's the default, she's the moment) or abspath. that's it. those are the two. no cap. πŸ’…
    • also! there's an environment variable you can set instead: PIP_FORMAT 🌸
ngl, remembering that PIP_FORMAT exists is a flex. iykyk.

πŸ‘‘ AUTHOR πŸ‘‘

pip developers πŸ‘‘ (the whole crew, we love them)


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