/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install pyenv (if using zsh, the default on macOS): update python mac
python3 --version or
Choose the method that fits your workflow, and you’ll always have a modern, secure Python on your Mac. /bin/bash -c "$(curl -fsSL https://raw
via Homebrew: