PIP3-CACHE(1)

✨ PIP3-CACHE(1) ✨

okay bestie, so this is pip3-cache β€” that's the pip3 cache command, from the pip manual (section 1, for the record πŸ’…). It's your little toolbox for peeking at and cleaning up the wheel cache pip keeps hoarding on your disk. πŸŽ€


🌸 NAME 🌸

pip3-cache β€” literally just the description of the pip3 cache command. That's the whole vibe. Simple. Iconic. πŸ¦‹


πŸ’– DESCRIPTION πŸ’–

So what does it do? It lets you inspect and manage pip's wheel cache. That's it, that's the job. 🧚

It's got a bunch of subcommands, and here's the whole lineup, no cap:

  • 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. πŸ’€

And one little thing to remember fr fr: <pattern> can be a glob expression or a package name. Either one works, she's flexible like that. ✨


🌈 USAGE 🌈

Here's how you actually run each one, verbatim, don't @ me:

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

see? clean. slay. πŸ‘‘


πŸ’… OPTIONS πŸ’…

Only one option here but she's carrying the whole squad:

  • --format <list_format> β€” Picks which output format you want, and your choices are human (which is the default, so if you don't say anything you get this one) or abspath. That's it, that's the list. πŸ“
oh and psst β€” there's an environment variable for this too: PIP_FORMAT πŸ‘€

🫢 Author 🫢

The pip developers. legends, honestly. πŸ‘‘


Copyright belongs to The pip developers. respect the craft. πŸŽ€


and that's the whole page bestie!! πŸ˜­πŸ’– version 26.1, dated Jun 02, 2026, brought to you by the pip girlies themselves. go forth and purge that cache when it gets too thicc. mwah. πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from