Update Python Mac Link May 2026

echo 'eval "$(pyenv init -)"' >> ~/.zshrc source ~/.zshrc

brew install pyenv (if using zsh, the default on macOS):

To see Python installations on your system: update python mac

brew install python@3.12 Homebrew installs Python to /opt/homebrew/bin/python3 (Apple Silicon) or /usr/local/bin/python3 (Intel). After installing, check the version again:

python3 --version You should see the new version number (e.g., Python 3.12.2 ). echo 'eval "$(pyenv init -)"' >> ~/

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:

via Homebrew:

brew update brew upgrade python To install a specific Python version (e.g., 3.12):