How to query firmware revision of NVMe on Linux/Ubuntu

Install nvme-cli open the terminal ctrl+alt+t

Then type:

sudo apt update && sudo apt install -y nvme-cli

After the installation type

sudo nvme list

On the right-hand side, you will find the Firmware Revision

Alternativelly you can also type this

sudo nvme id-ctrl /dev/nvme0n1

You will receive a very long list, and it will be a little bit trickier to determine it is listed at fr