PIP-CACHE(1)

πŸ“¦
version 26.0.1 Β· 4 versions
, in fedora 44

✨ PIP-CACHE(1) ✨

okay bestie, so this is the pip cache manual page β€” straight out of the pip docs, section 1 of the manual, and I'm gonna walk you through it like we're texting at 2am πŸ’–


🌸 NAME 🌸

pip-cache β€” the whole rundown on the pip cache command, no cap πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

So basically? This is your little toolkit for inspecting and managing pip's wheel cache. That's it, that's the vibe. ✨

It works through subcommands, and here's every single one, don't skip:

  • dir β€” shows you the cache directory. where the goods live πŸ’…
  • info β€” spills the tea about the cache, aka shows information about it.
  • list β€” lists the filenames of the packages chillin' in the cache.
  • remove β€” yeets one or more packages out of the cache.
  • purge β€” removes all the items from the cache. everything. gone. 🫢

Oh and heads up β€” <pattern> can be a glob expression or a package name. Either one works, she's flexible like that 😌


πŸ‘‘ USAGE πŸ‘‘

here's exactly how you'd run it, copy-paste ready, no notes:

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> β€” picks the output format for you, queen's choice πŸŽ€. Your options are human (which is the default, so if you don't say anything it just does this) or abspath.
psst β€” there's an environment variable for this too: PIP_FORMAT 🌈

🧚 Author 🧚

the pip developers wrote this. icons, honestly. πŸ‘‘


copyright belongs to The pip developers. respect the craft bestie πŸ’œ


aaaand that's the whole page!! this was version 26.0, dated Aug 26, 2026, from the pip manual β€” ty for coming to my ted talk, go clear that cache responsibly, mwah πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from
  • fedora 44: python3-pip 26.0.1-3.fc44 Β· 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 on : a language model's rewrite of the original, under its terms