Find virtual environments
Terminal
find ~ -name pyvenv.cfg -not -path '*/Library/*' 2>/dev/null | while read f; do du -sh "$(dirname "$f")"; done | sort -hDelete the folder (often .venv or venv) of a project you no longer use. Recreate it with python -m venv .venv && pip install -r requirements.txt.
conda
Terminal
conda env list
conda remove -n <name> --all
conda clean --allPackage caches
Terminal
pip cache purge
uv cache cleanLet the raccoon do it, safely
Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free beta for Mac.
Download for Mac