pip cache (~/Library/Caches/pip) on Mac: what it is and whether you can delete it

MACMAN FOLDER · 2026-11-16

Safe to delete now

What it is

Why it grows

When pip installs a package, it saves the downloaded files and any packages it built in this folder and reuses them on the next install. Every virtual environment shares the same cache.

Some packages, such as machine learning libraries, are large files on their own, so installing several versions can take it to several GB.

Before you delete

How to check its size

In Finder, choose Go > Go to Folder (Shift-Command-G), enter ~/Library/Caches/pip, then use Get Info (Command-I) to see the size.

In Terminal, run du -sh ~/Library/Caches/pip to see the size.

The free MacMan Scan diagnosis lists this folder with its size and grade. The scan is read-only.

How to shrink it safely

  1. Installed packages and virtual environments live apart from this folder, so they stay as they are when you empty the cache.
  2. Move the folder's contents to the Trash in Finder, then empty the Trash.
  3. On the next install pip downloads the packages it needs again. You need an internet connection then.

How MacMan Scan handles this folder

MacMan Scan lists this folder on the cleanup screen, checked by default. Nothing is deleted until you press the delete button yourself.

Related folders

Get the free diagnosis

The scan is read-only. Diagnosis alone deletes nothing.