Warning: This is gonna get nerdy.
On the Mac, if you go to Safari, and then choose the Safari » About Safari Menu shown here:
You will see this:
The first number (“14.1.2” in this case) is the “Version Number” as most people think of it.
The second number (16611.3.10.1.6) is often referred to as the Build Number, and it’s often not something most people need to or want to know about.
Technically, the first number here is called the CFBundleShortVersionString
and the second is called the CFBundleVersion
.
You can easily check either using the command-line tool defaults read
like so:
defaults read "/Applications/Safari.app/Contents/Info" CFBundleShortVersionString
and/or
defaults read "/Applications/Safari.app/Contents/Info" CFBundleVersion
(Both of those are single-line commands, even if they appear “wrapped” here).
You can replace “Safari.app” with just about any other app to get that app’s information. That will work for the vast majority of the apps you will find.
Some apps (including Keyboard Maestro) put the version number in both fields. That’s “less common, but not unusual” if you follow me.
Some apps just use the CFBundleShortVersionString
but that is rare. More often you’ll find the information is in both fields.
Some apps just use the CFBundleVersion
and have no CFBundleShortVersionString
at all, but this is very rare.
Note: Most of Apple's Built-In Apps Aren't Actually in /Applications/ Anymore
Recent versions of macOS include standard apps which appear in /Applications/
but aren't actually in /Applications/
. For example, TextEdit.app will appear in /Applications/
but if you try
defaults read "/Applications/TextEdit.app/Contents/Info" CFBundleShortVersionString
You will get an error like this:
The domain/default pair of (“/Applications/TextEdit.app/Contents/Info”, CFBundleShortVersionString) does not exist
If that happens, use /System/Applications/
instead of just /Applications/
.
The same is true for applications which appear in /Applications/Utilities/
such as Activity Monitor.app which is actually found at /System/Applications/Utilities/Activity Monitor.app
If you are trying to use one of these apps and are not sure where it is located, the easiest way to find out is to open a Terminal.app window and drag the app to it. That will reveal the actual path that you need to use. Just don't forget to make sure you add /Contents/Info
after the .app
!