mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-14 10:32:11 +03:00
293 B
293 B
sw_vers
Print macOS operating system version information.
- 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