Install Speedtest-cli On A Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS
Install speedtest-cli
-
Debian
apt-get install speedtest-cliClick to copy -
Ubuntu
apt-get install speedtest-cliClick to copy -
Alpine OS
apk add speedtest-cliClick to copy -
Arch Linux
pacman -S speedtest-cliClick to copy -
Kali Linux
apt-get install speedtest-cliClick to copy -
Fedora
dnf install speedtest-cliClick to copy -
Raspbian
apt-get install speedtest-cliClick to copy -
macOS
brew install speedtest-cliClick 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 copyRun a speed test and generate a shareable result picture:speedtest-cli --shareClick to copyPrint a list of all speedtest.net servers, sorted by distance, to file:speedtest-cli --list > speedtest_servers.txtClick to copyRun 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.




