Which version of Python is pre-installed on macOS Sonoma 14


If you have got a new Mac (Macbook) device or updated to macOS Sonoma 14 and wondering which version of Python is shipped with it, you can simply run the python3 version command.

% python3 --version

Python 3.9.6

As you can see, Python 3.9.6 is the version with macOS Sonona.

Note: If you are on the Beta version of Sonoma, you will see that the above command may see a warning "xcode-select: note: No developer tools were found, requesting install." So you may need to download Command Line Tools first.

Python 3 version with macOS Sonoma
% python --version

zsh: command not found: python

Note: Unlike previous versions of macOS, Python 2.x version is not pre-installed on Sonoma.


This is not an AI-generated article but is demonstrated by a human on an M1 Mac running macOS Sonoma 14.0.

Please support independent contributors like Code2care by donating a coffee.

Buy me a coffee!

Buy Code2care a Coffee!

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org

Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap