How To Update Python Mac Jun 2026

python3 --version

brew install python

Verify that the update was successful by running: how to update python mac

If you haven't installed Homebrew, open Terminal and run:

macOS comes with a pre-installed version of Python (usually an older version like Python 2 or an older Python 3). python3 --version brew install python Verify that the

This involves downloading the package file ( .pkg ) from the official Python.org downloads page .

Verify that the update was successful by running: one project needs 3.9

Homebrew makes updating and managing Python much easier.

Run:

python --version

If you are a developer working on different projects, you often need to switch between Python versions (e.g., one project needs 3.9, another needs 3.12). pyenv is the industry standard for this.