pip cache (~/Library/Caches/pip) on Mac: what it is and whether you can delete it
MACMAN FOLDER · 2026-11-16
~/Library/Caches/pip
What it is
~/Library/Caches/pipSafe to delete nowPython package download cache
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
~/Library/Caches/pipThe app rebuilds it after deletion
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
- Installed packages and virtual environments live apart from this folder, so they stay as they are when you empty the cache.
- Move the folder's contents to the Trash in Finder, then empty the Trash.
- 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
- uv cache (~/.cache/uv) on Mac: what it is and whether you can delete it
- Hugging Face cache (~/.cache/huggingface) on Mac: what it is and whether you can delete it
- npm cache (~/.npm) on Mac: what it is and whether you can delete it
The scan is read-only. Diagnosis alone deletes nothing.