Use Speedtest CLI to check Internet speed on Debian 10

In this article, tipsmake.com will use a Linux command line tool named speedtest-cli. It is written in Python and uses speedtest.net to check bandwidth.

To fix the problem with slow connections leading to poor Internet access, you first need to check the Internet speed on the system. For example, when you switch to a new Internet connection and want to make sure you are getting what you deserve, it can be helpful to check the internet speed.

In this article, tipsmake.com will use a Linux command line tool named speedtest-cli. It is written in Python and uses speedtest.net to check bandwidth, by uploading and downloading data to and from your system.

Note : The commands and procedures mentioned in this article are implemented on Debian 10 Buster systems.

Install the speedtest-cli utility

First, open the Debian Terminal through the Search Launcher application as follows:

Use Speedtest CLI to check Internet speed on Debian 10 Picture 1Use Speedtest CLI to check Internet speed on Debian 10 Picture 1 Open the Debian Terminal

Then enter the following command as sudo to install python. This allows you to install packages through pip.

$ sudo apt-get install python-pip

The system may ask for your sudo password because only authorized users can add, delete and configure software on Debian.

Once python pip is successfully installed, use the following command to install the speedtest-cli tool through it:

$ sudo pip install speedtest-cli

The necessary tools will then be installed into the system.

Check the Internet speed via speedtest-cli

Now, you can enter the following command in Terminal to check Internet speed:

$ speedtest-cli
Use Speedtest CLI to check Internet speed on Debian 10 Picture 2Use Speedtest CLI to check Internet speed on Debian 10 Picture 2 The result will show the Download and Upload speed of the current Internet connection

The result will show the Download and Upload speed of the current Internet connection.

Share Internet speed

Speedtest-cli also allows you to share your Internet speed by providing a link on the speedtest.net website via the following command:

$ speedtest-cli --share

This command creates a link that you can share and open through the browser to get an image like this:

Use Speedtest CLI to check Internet speed on Debian 10 Picture 3Use Speedtest CLI to check Internet speed on Debian 10 Picture 3 Speedtest-cli also allows you to share Internet speed

Now you know how to install and use the speedtest-cli tool. You can check and share your internet connection speed quickly without the need for a graphical interface!

Hope you are succesful.

3.8 ★ | 11 Vote