Forrest logo
tool overview
On this page you find all important commands for the CLI tool speedtest-cli. If the command you are looking for is missing please ask our AI.


Speedtest-cli is a command-line tool used to measure internet speed by testing the upload and download speed of your network connection. It is written in Python and utilizes the popular service. The tool uses the same technology as the website to provide accurate results.

Once installed, you can initiate the speed test by executing the "speedtest-cli" command in your terminal. It will then communicate with the nearest server and perform the upload and download tests. The tool can also display additional information like ping latency and the server's geographic location.

Speedtest-cli supports multiple units for displaying the results, such as bits, kilobits, megabits, bytes, kilobytes, and megabytes. You can specify the desired unit using command-line options.

Since it is a command-line tool, it is particularly useful when you want to automate or script speed tests, especially on remote servers or headless systems without graphical user interfaces.

Speedtest-cli has extensive configuration options that allow you to customize various aspects of the test, such as target servers, HTTP method, HTTP headers, timeout, and more. These options provide flexibility for fine-tuning the speed test according to your specific requirements.

The tool also supports logging the results to a file, making it easy to track speed variations over time or create reports.

Speedtest-cli is an open-source project available on GitHub, which allows developers to learn from its code, contribute to its development, or even fork it for their specific needs.

Being a command-line tool, it can run on various operating systems, including Linux, macOS, Windows, and even on FreeBSD.

Overall, speedtest-cli offers a convenient and efficient way to perform speed tests directly from the command line, making it a popular choice for users who prefer the terminal interface or need to automate speed tests in their workflows.

List of commands for speedtest-cli:

tool overview