Perform Internet SpeedTest from Linux Command Line (CLI)

Determining your internet connection speed is important for the applications which depends mostly communicating over internet – For such cases speedtest-cli comes handy.

speedtest-cli is developed by www.speedtest.net team for speedtest over command line.

Installation of speedtest-cli:
Installation can be carried on different in many ways as per user’s convenience. Today I’m going to show you two easiest methods
1. Installation using pip3
2. Installation using package manager (apt in Debian based systems)

  1. Installation using pip3:
    To install speedtest-cli execute below command
    pip3 install speedtest-cli

    Usage:
    Execute below command to start speedtest.
    speedtest
  2. Installation using Package Manager:
    To install speedtest-cli execute below command
    sudo apt-get install speedtest-cli

    Usage:
    Execute below command to start speedtest.
    speedtest

Detailed process is demonstrated in the video below.

Leave a comment