Installing Python on macOS

macOS ships with a system version of Python, but you shouldn’t use it for development — it’s outdated, tied to the OS, and modifying it can break system tools. Here’s the recommended way to install and manage Python on macOS. Option 1: Homebrew (recommended) If you don’t have Homebrew installed yet: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh...