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)
- Installation using pip3:
To install speedtest-cli execute below commandpip3 install speedtest-cli
Usage:
Execute below command to start speedtest.speedtest - Installation using Package Manager:
To install speedtest-cli execute below commandsudo apt-get install speedtest-cli
Usage:
Execute below command to start speedtest.speedtest
Detailed process is demonstrated in the video below.