Install it with:
Homebrew installs Python to /opt/homebrew/bin/python3 (Apple Silicon) or /usr/local/bin/python3 (Intel). update python mac
Homebrew is a popular package manager for Macs that allows you to easily install and update software, including Python. To update Python using Homebrew, you can run the following command in your terminal: update python mac