Tuesday, 8th July 2025
If you're running low on disk space and are a uv user, don't forget about uv cache prune:
uv cache prune
removes all unused cache entries. For example, the cache directory may contain entries created in previous uv versions that are no longer necessary and can be safely removed.uv cache prune
is safe to run periodically, to keep the cache directory clean.
My Mac just ran out of space. I ran OmniDiskSweeper and noticed that the ~/.cache/uv
directory was 63.4GB - so I ran this:
uv cache prune
Pruning cache at: /Users/simon/.cache/uv
Removed 1156394 files (37.3GiB)
And now my computer can breathe again!