System Information, and the plethora of information about your Mac computer that you can obtain from it, can also be accessed from the command line using the system_profiler command. By default, it outputs all information directly to the screen, so you may want to redirect the stdout to a file.

system_profiler > /Users/your-account-name/Desktop/report.txt

This also allows you to save in basic text format instead of spx which is the GUI System Information's only available save as format.

Obviously, you may only be looking for a certain type of Data from System Information, so feel free to use the command to list the data that you want and then take that data type and incorporate it into your command. For example:

system_profiler -listDataTypes

system_profiler SPFrameworksDataType > /Users/your-account-name/Desktop/frameworks_only.txt