What it is
Every Python version installed with pyenv, with its packages.
Can you delete it?
Sometimes, check what is inside first. Versions no project uses can go; virtual environments built on a removed version stop working.
How to clean it safely
- Run:
pyenv versions - Run:
pyenv uninstall <version> for ones you no longer use.
How big is it on your Mac?
This read-only command prints its size and changes nothing:
Terminal
du -sh ~/".pyenv/versions" 2>/dev/nullStep-by-step guide: Clean up Python environments →
Related folders
- .tox / .nox ·
<project>/.tox - Python virtual environment ·
<project>/.venv - pip cache ·
~/Library/Caches/pip - .mypy_cache / .pytest_cache ·
<project>/.mypy_cache - Python __pycache__ ·
<project>/__pycache__ - Conda package cache ·
~/miniconda3/pkgs
Questions
Is it safe to delete ~/.pyenv/versions?
Sometimes, check what is inside first. Versions no project uses can go; virtual environments built on a removed version stop working.
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