sw_vers

Created by Eliott (@Koyiott)

Description

sw_vers prints macOS version information, including the exact macOS version number.

CreatedTacticsTags
2023-09-11Discoverybash configuration

Paths

  • /usr/bin/sw_vers

Use Cases

Retrieving macOS Version Information

Fetch detailed macOS version information including the build version, product name, and product version.

sw_vers

Retrieving macOS Product Version

Fetch macOS product version.

sw_vers -productVersion

Retrieving macOS Product Name

Fetch detailed macOS product name.

sw_vers -productName

Retrieving macOS Build Version

Fetch detailed macOS build version.

sw_vers -buildVersion

Detections

  • No detections at time of publishing

Resources