The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My work

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,329 other followers

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:

2 Responses to “osx – How to find out Mac OS X version from Terminal? (via: Super User)”

  1. 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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: