system_profiler[1] is a macOS command to report system hardware and software configuration.
system_profiler