Name
sw_vers — stdin stdout - file -- opt --help --version
Synopsis
sw_vers [options
]
The sw_vers
command displays
the OS X software version on your Macintosh:
➜ sw_vers
ProductName: Mac OS X
ProductVersion: 10.7.3
BuildVersion: 11D50
Useful options
| Print only the product name. |
| Print only the product version. |
| Print only the build version. |
Get Macintosh Terminal Pocket Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.