System Profiler

Report system hardware and software configuration.

https://ss64.com/osx/system_profiler.html

Get info

Model, S/N, CPU, RAM

system_profiler SPHardwareDataType

OS version, kernel

system_profiler SPSoftwareDataType

Ethernet Cards (hardware)

system_profiler SPEthernetDataType

Network

system_profiler SPNetworkDataType
system_profiler SPAirPortDataType

Disks

system_profiler SPNVMeDataType
system_profiler SPStorageDataType

USB

system_profiler SPUSBDataType

Bluetooth

system_profiler SPBluetoothDataType

Applications

system_profiler SPApplicationsDataType

List of data types

system_profiler -listDataTypes
Available Datatypes:
SPParallelATADataType
SPUniversalAccessDataType
SPSecureElementDataType
SPApplicationsDataType
SPAudioDataType
SPBluetoothDataType
SPCameraDataType
SPCardReaderDataType
SPiBridgeDataType
SPDeveloperToolsDataType
SPDiagnosticsDataType
SPDisabledSoftwareDataType
SPDiscBurningDataType
SPEthernetDataType
SPExtensionsDataType
SPFibreChannelDataType
SPFireWireDataType
SPFirewallDataType
SPFontsDataType
SPFrameworksDataType
SPDisplaysDataType
SPHardwareDataType
SPInstallHistoryDataType
SPInternationalDataType
SPLegacySoftwareDataType
SPNetworkLocationDataType
SPLogsDataType
SPManagedClientDataType
SPMemoryDataType
SPNVMeDataType
SPNetworkDataType
SPPCIDataType
SPParallelSCSIDataType
SPPowerDataType
SPPrefPaneDataType
SPPrintersSoftwareDataType
SPPrintersDataType
SPConfigurationProfileDataType
SPRawCameraDataType
SPSASDataType
SPSerialATADataType
SPSPIDataType
SPSmartCardsDataType
SPSoftwareDataType
SPStartupItemDataType
SPStorageDataType
SPSyncServicesDataType
SPThunderboltDataType
SPUSBDataType
SPNetworkVolumeDataType
SPWWANDataType
SPAirPortDataType