Skip to content

Get Device Specs from CLI

lshw -short

Install lshw

warning: lshw is only partially supported on this system

The lshw tool isn't installed by default on standard Debian minimal or fresh desktop installations.

sudo apt update && sudo apt install lshw -y

Get all hardware information

To display detailed hardware information in a human-readable format:

sudo lshw

To display detailed hardware information in a HTML format:

sudo lshw -html > hardware-report.html