tldr/pages/osx/sw_vers.md

156 B

sw_vers

Print macOS Software versioning information.

  • Print macOS Version:

sw_vers -productVersion

  • Print macOS Build:

sw_vers -buildVersion