How to install SpeedTest CLI on Ubuntu 22.04

Assuming CURL is already installed on your system.

  1. Navigate to your home folder
cd ~
  1. Download the script and run it
curl -s | sudo bash
  1. Install the software
sudo apt-get install speedtest
  1. Try it out!

You may have to answer YES to the questions it asks you and all that.