This is a great macro for this type of info. Here is the output for mine and I don't even have to go look for it:
Model Name: Mac mini
Model Identifier: Mac14,12
Model Number: Z170000G5LL/A
Total Number of Cores: 12 (8 performance and 4 efficiency)
Memory: 32 GB
System Firmware Version: 10151.41.12
OS Loader Version: 8422.141.2.700.1
Chipset Model: Apple M2 Pro
Total Number of Cores: 19
System Version: macOS 13.6.1 (22G313)
Kernel Version: Darwin 22.6.0
System Integrity Protection: Enabled
Time since boot: 2 days, 3 hours, 48 minutes
iirc, there may be something similar for currently-running App version info etc., but this one surfaces quite a bit of useful info as it is.