LinuxCommandLibrary

speedtest

Official Ookla internet speed test CLI

TLDR

Run speed test

$ speedtest
copy
List servers
$ speedtest --servers
copy
Use specific server
$ speedtest --server-id [12345]
copy
Output as JSON
$ speedtest --format json
copy
Accept license
$ speedtest --accept-license
copy
Show progress
$ speedtest --progress yes
copy

SYNOPSIS

speedtest [--server-id id] [--format fmt] [options]

DESCRIPTION

speedtest is the official command-line interface from Ookla for measuring internet connection performance. It tests download speed, upload speed, latency (ping), and jitter by connecting to Ookla's global network of test servers.
The tool automatically selects the nearest server for testing, though specific servers can be chosen by ID. Results include detailed metrics about connection quality, and structured output formats (JSON, CSV) enable integration with monitoring scripts and dashboards.
First-run usage requires accepting the Ookla license agreement and GDPR terms. The CLI is a compiled binary distributed separately from the Python-based speedtest-cli, and uses Ookla's native testing methodology for more accurate results.

PARAMETERS

--servers

List nearby servers.
--server-id ID
Select server.
--format FMT
Output format (json, csv).
--progress BOOL
Show progress.
--accept-license
Accept EULA.
--accept-gdpr
Accept privacy terms.

CAVEATS

Requires license acceptance. Network dependent. Ookla servers only.

HISTORY

speedtest is the official CLI from Ookla, the company behind Speedtest.net internet speed testing.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community