Unofficial command-line interface for testing internet bandwidth using https://speedtest.net.
# To run a speed test:
speedtest-cli
# To run a speed test and display values in bytes, instead of bits:
speedtest-cli --bytes
# To run a speed test using 'HTTPS', instead of 'HTTP':
speedtest-cli --secure
# To run a speed test without performing download tests:
speedtest-cli --no-download
# To run a speed test and generate an image of the results:
speedtest-cli --share
# To list all 'speedtest.net' servers, sorted by distance:
speedtest-cli --list
# To run a speed test to a specific speedtest.net server:
speedtest-cli --server <server_id>
# To run a speed test and display the results as JSON (suppresses progress information):
speedtest-cli --json