How to check your connection speed with Speedtest.net from Ubuntu/Debian command line

How to check your internet connection speed using the “speedtest-cli” Python application for Ubuntu & Debian and optionally share your results.

 Posted February 1, 2017

1. Install speedtest-cli application

Note: You can optionally skip the “sudo” prefixes on the commands below by switching to root using the sudo su command.

First, make sure your list of repository packages is up to date:

Next, install the Python package manager (pip):

Now install the speed-cli application using Python package manager (pip):

And if you ever want to upgrade the application, you can use:

2. Test your connection speed using speedtest-cli application

To check your internet connection speed, run the speedtest-cli application:

Alternatively, if you want to be able to share your results:

Run the speedtest-cli application using the optional share argument:

Paste the address above into a browser to see the result. Example:

6017542333.png Speedtest.net result

For additional information:

  • Speedtest.net website (the original web-based version)
  • Run speedtest-cli using the optional help argument:

Leave a Reply

Your email address will not be published. Required fields are marked *