I know that most MacOS users use GUI instead of CLI but sometimes it’s faster to use CLI. A also prefer command line when I need to copy results: it’s easier to copy text rather than do snapshots even with hotkeys and send it.
There are two tools I use to get hardware info:
I do not like to copy the documentation, so I just drop a few most interesting for me commands:
- sysctl -n machdep.cpu.brand_string - view CPU information
- system_profiler SPNVMeDataType - view NVMe SSD information
- system_profiler SPMemoryDataType - view RAM information
- system_profiler SPDisplaysDataType - display ad GPU information