speedtest
Official command-line interface for testing internet bandwidth using <https://speedtest.net>. tldr-pages
On several platforms
Several platforms
Official command-line interface for testing internet bandwidth using <https://speedtest.net>. These command examples apply only to the official client. Note: Some platforms link speedtest to speedtest-cli or other tools like librespeed, which can also be installed as speedtest on certain Linux distributions.
Run a speed test
speedtestIdentifyRun a speed test and specify the unit of the output
speedtest --unit auto-decimal-bitsIdentifyRun a speed test and specify the output format
speedtest --format human-readableIdentifyRun a speed test and specify the number of decimal points to use (0 to 8, defaults to 2)
speedtest --precision 0..8IdentifyRun a speed test and print its progress (only available for output format human-readable and json)
speedtest --progress yesIdentifyList all speedtest.net servers, sorted by distance
speedtest --serversIdentifyRun a speed test to a specific speedtest.net server
speedtest --server-id server_idIdentify