osx – How to find out Mac OS X version from Terminal? (via: Super User)
Posted by jpluimers on 2014/03/03
I’m a command-line addict, so this was a great SuperUser question by Željko Filipin:
I know how to find Mac OS X version from GUI: Apple Menu (top left) > About This Mac
Is there a Terminal command that will tell me Mac OS X version?
It was answered by User delfuego:
You have a few options:
sw_vers -productVersion
system_profiler SPSoftwareDataType
These commands led me to this post: Finding OS X Version and Build Information From the Command Line | The Nubby Admin that also showed these commands:
uname -a
osascript -e 'system info'
Where uname shows only the kernal version, oascript gives a ton of information.
Too bad that none of the above commands includes the OS X product name, only the product versions. As of writing, this is the conversion table:
| Version numbers | names | release dates |
| 10.0.x | Cheetah | March 24, 2001 |
| 10.1.x | Puma | September 25, 2001 |
| 10.2.x | Jaguar | August 24, 2002 |
| 10.3.x | Panther | October 24, 2003 |
| 10.4.x | Tiger | April 29, 2005 |
| 10.5.x | Leopard | October 26, 2007 |
| 10.6.x | Snow Leopard | August 28, 2009 |
| 10.7.x | Lion | July 20, 2011 |
| 10.8.x | Mountain Lion | July 25, 2012 |
| OS X 10.9 | Mavericks | October 22, 2013 |
–jeroen
via:






Huibert said
My system is running OS X 10.9.2 Mavericks for a while…..
jpluimers said
The “as of writing” was actually a year ago, that’s how for my blog pipeline usually is filled (:
Thanks for the reminder: just added Mavericks.