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

December 2016


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:

Related :

This document entitled « Mac OS X - A command to print the system version information » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.