This has been tested on Ubuntu 22.04 with 3x Crucial MX500 1TB SSDs purchased in 2023
- Install the required packages
sudo apt-get install -y smartmontools unzip curl
- Check your current firmware version and note it-you will want to be sure that you are actually updating the firmware version (replace sdX with your actual device's identifier-leaving off any partition numbers as you're checking the block device and not the data on it)