Forrest logo
back to the speedtest-cli tool

speedtest-cli:tldr:80bb2

speedtest-cli: List all `speedtest.net` servers, sorted by distance.
$ speedtest-cli --list
try on your machine

The command "speedtest-cli --list" is used to get a list of available speed test servers that can be used to measure the internet speed of a network.

Here's how it works:

  1. "speedtest-cli" is a command-line interface (CLI) tool for conducting internet speed tests. It is used to measure the upload and download speeds of a network.

  2. "--list" is an option or argument that can be passed to speedtest-cli to specify that you want to obtain a list of available servers.

When the command is executed, speedtest-cli will fetch a list of available servers from the speedtest.net database. This list contains various server locations worldwide that you can test your internet speed against.

The output of the command will usually consist of multiple lines, each representing a different speed test server. Each server line will display its unique identifier, location (city), and a short server name. This information helps you choose the server you want to use for testing your network's speed.

Once you have the list of available servers, you can then use the speedtest-cli with the chosen server's ID to perform a speed test.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the speedtest-cli tool