Skip to content

[Linux] Use "speedtest-cli" tool to check the speed of our Internet connection

speedtest-cli is a simple tool in Linux that can show our Internet connection speed (include download and upload speed).

Usually we go to the webpage to confirm the internet speed (such as fast.com). But if we are using terminal to connect to a remote server, how can we do this?

So speedtest-cli comes in handy. This tool is developed by Python, we can clone it on GitHub: https://github.com/sivel/speedtest-cli

Or you can use pip tool to download it:

sudo pip3 install speedtest-cli

pip (or pip3) is a download management tool for the Python packages. If it not installed on your system, you can also follow the instructions above to enter it. After reporting an error message, a recommended instruction should pop up so that you can install pip3.

Although this tool is developed in Python but you don't need to write any Python code. You just need to open your terminal and key in:

speedtest-cli

Output:

So you can see your network transmission speed! If you want to display a picture, just use:

speedtest-cli --share

You can see a picture like the following:

Tags:

Leave a Reply