Prints macOS version information.
sw_vers sw_vers Sandbox: execFile · Timeout: 30s
discovery.enumerate 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 | Type | Rule / Indicator |
|---|---|
| other | No detections at time of publishing |
sw_vers prints macOS version information, including the exact macOS version number.