how to keep only latest python version macos code example Example: mac catallina python3 $ brew install pyenv