Speedtest is an application that measures the latency, jitter, packet loss, download bandwidth, and upload bandwidth of the network connection between the client and a nearby Speedtest Server. By now, Speedtest by Ookla is ubiquitous on all platform that has internet connections. Whether you are on Windows, Mac, Linux, iOS, Android or ChromeOS you can find a way to test your internet speed with speedtest by Ookla.
Similar to GPing Kent covered earlier Speedtest has a CLI command-line interface where you can use your favourite terminal to collect statistics about network speed. Download the cli tool here.
❯ .\speedtest.exe
Speedtest by Ookla
Server: BCNET - Vancouver, BC (id = 22207)
ISP: Cipherkey Exchange Corp.
Latency: 10.16 ms (1.49 ms jitter)
Download: 83.86 Mbps (data used: 77.4 MB)
Upload: 8.35 Mbps (data used: 6.7 MB)
Packet Loss: 0.0%
Result URL: https://www.speedtest.net/result/c/a34c6727-1c4a-46a7-ab38-6a2df3f1576f
To run speedtest cli on Windows, you have to unzip the package and naivete the command line to the directory and run the binary. Or add the path to your Windows’ environment variable to source the PATH, so you can run this cli command tool anywhere globally.
speedtest [-aAbBfhiIpPsv] [--ca-certificate=path] [--format=[=format-type]] [--help] [--interface=interface]
[--ip=ip_address] [--output-header] [--precision=num_decimal_places] [--progress=yes|no]
[--selection-details] [--server-id=id] [--servers] [--unit=[=unit-of-measure]] [--version]
To add the cli globally go to System Properties > Environment Variables

Find the System variables > Path > New

Add New path where you have extracted and copied the unzipped speedtest cli. For me, I’ve moved it under C:\Program Files

Now you can run speedtest anywhere in the terminal.

Check it out if you work with command line on a daily basis, speedtest cli is a great tool to test out the speed of a given VM or a Windows workstation that you are remoting.