PIP-CACHE(1)
β¨ 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 arehuman(which is the default, so if you don't say anything it just does this) orabspath.
psst β there's an environment variable for this too: PIP_FORMAT π
π§ Author π§
the pip developers wrote this. icons, honestly. π
π Copyright π
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