r/learnpython • u/silverknife42 • 13h ago
updating Python on macOS
How do you update Python on macOS? I looked it up and from what I can tell, there is no simple command you can enter into the terminal to update it, and you have to instead go to the website https://www.python.org/downloads/ and download and install it manually to update which is inconvenient. There's also the question of removing the old versions you have no intention of using anymore.
I am aware of Homebrew and I do have it for other things I've installed, but I want to try to only use it to download things to my MacBook that I otherwise couldn't. Python can easily be downloaded for mac separately and I want to keep it that way if possible. Is there no update command for the mac terminal to simply update Python?
View all comments
1
u/LegalDebate5423 1h ago
If you want to keep the [python.org](http://python.org) install, use its installer for the version you want and leave macOS's own Python alone. For project work, a version manager like `uv` can install Python versions and create isolated environments, so you don't need to replace a system-managed interpreter. Check which executable `which python3` resolves to before removing anything.