Is it safe to delete Poetry cache?

~/Library/Caches/pypoetry · Safe to delete

What it is

Poetry's package cache and, by default, the virtual environments it creates.

Can you delete it?

Yes, it is rebuilt automatically. Packages download again, and environments are rebuilt with poetry install.

How to clean it safely

  1. Run: poetry cache clear --all pypi
  2. Delete old environments under virtualenvs for projects you no longer use.

How big is it on your Mac?

This read-only command prints its size and changes nothing:

 Terminal
du -sh ~/"Library/Caches/pypoetry" 2>/dev/null

Step-by-step guide: Clean up Python environments →

Questions

Is it safe to delete ~/Library/Caches/pypoetry?

Yes, it is rebuilt automatically. Packages download again, and environments are rebuilt with poetry install.

Let the raccoon do it, safely

Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free to download, no account, no ads.

Download for Mac