Mac OS X - A command to print the system version information

The sw_vers command allows you to print system version information of your Mac.

  • Open a terminal
  • Type:
    sw_vers

The following information will be printed:

  • Product Name
  • Product Version
  • Build Version

Learn more about the sw_vers command:

  • https://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/man1/sw_vers.1.html
Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
This document, titled « Mac OS X - A command to print the system version information », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).