Install Speedtest-cli On A Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS

Install Speedtest-cli On A Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS

speedtest-cli

Command line interface for testing internet bandwidth using speedtest.net.

Maintainer: Jonathan Carter



Section: utils

Install speedtest-cli

  • Debian apt-get install speedtest-cli Click to copy
  • Ubuntu apt-get install speedtest-cli Click to copy
  • Alpine OS apk add speedtest-cli Click to copy
  • Arch Linux pacman -S speedtest-cli Click to copy
  • Kali Linux apt-get install speedtest-cli Click to copy
  • Fedora dnf install speedtest-cli Click to copy
  • Raspbian apt-get install speedtest-cli Click to copy
  • macOS brew install speedtest-cli Click to copy

Command line interface for testing internet bandwidth using speedtest.net.

How to use speedtest-cli?

Below are few example commands for speedtest-cli that you can use in the terminal.

Run a speed test:
speedtest-cliClick to copy
Run a speed test and generate a shareable result picture:
speedtest-cli --shareClick to copy
Print a list of all speedtest.net servers, sorted by distance, to file:
speedtest-cli --list > speedtest_servers.txtClick to copy
Run a speed test to the given speedtest.net server id:
speedtest-cli --server server_idClick to copy
Installing speedtest-cli command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian and macOS operating systems. Once you run the command it will install the latest version of speedtest-cli 2026 package in your OS.