TLDR
Enter a command. For example: xml2man, dd, osascript, bc, lipo.

sw_vers

 
Print macOS operating system version information. More information: https://ss64.com/osx/sw_vers.html.
 
  • Print all available information (OS name, version number, and build):
     
    sw_vers
     
  • Print only the version number of the operating system:
     
    sw_vers -productVersion
     
  • Print only the build identifier:
     
    sw_vers -buildVersion

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.