mac

How do I find out what version of Mac OSX I’m running from the command line?

If you enjoy CLI as much as I do, you tend to do most things that way. If you want to find the version of OSX that’s running you can execute the following command:

system_profiler SPSoftwareDataType

or

sw_vers -productVersion

Ex. oldserver:~ root# sw_vers -productVersion
10.4.3

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

To Top