When you run pyenv local 3.10.6 (for example), it creates a file named .python-version in your current directory. Whenever you’re inside that directory (or any subdirectory), pyenv automatically ...