Update Python Mac ((new)) May 2026
python3 --version You should see the new version number (e.g., Python 3.12.2 ).
Install it with:
To see Python installations on your system: update python mac
Keeping Python up to date ensures you have the latest features, bug fixes, and security patches. This guide covers the safest and most effective methods for updating Python on macOS. 1. Check Your Current Python Version Before updating, open Terminal (Applications > Utilities > Terminal) and run:
brew install pyenv (if using zsh, the default on macOS): python3 --version You should see the new version number (e
which -a python3 If you work on different projects, use pyenv to switch between Python versions without conflicts.
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
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"