How to check your macOS version from Terminal

Updated: April 25, 2022 By: A Goodman Post a comment

You can check your macOS version from the terminal by running the following command:

sw_vers

This command will produce output similar to this:

ProductName:	macOS
ProductVersion:	12.3.1
BuildVersion:	21E258

Screenshot:

That’s it. Further reading:

You can also check out our macOS category page for the latest tutorials and examples.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments