Docs / Networking / How to Test Network Speed from the Command Line

How to Test Network Speed from the Command Line

By Admin · Feb 25, 2026 · Updated Apr 24, 2026 · 442 views · 1 min read

Test your Breeze's network speed without a browser using command-line tools.

Using speedtest-cli

# Install
apt install speedtest-cli -y  # Ubuntu/Debian
# or
pip install speedtest-cli

# Run test
speedtest-cli

# Simple output
speedtest-cli --simple

Using iperf3

For testing between two servers:

# Install
apt install iperf3 -y

# On server A (listener)
iperf3 -s

# On server B (client)
iperf3 -c SERVER_A_IP

Using curl

Quick download speed test:

curl -o /dev/null -w "Speed: %{speed_download} bytes/sec\n" https://speed.cloudflare.com/__down?bytes=100000000

Was this article helpful?