Ookla® Speedtest® CLI installer for macOS without homebrew.
Official-Project: https://www.speedtest.net/de/apps/cli
- Tested on:
- macOS 10.15.7 (Catalina)
->> The easiest way to install the $ speedtest
command is, to download and install the .pkg file.
-> Otherwise you can follow the instructions for a manual installation
- Open the
Terminal
Application from/System/Applications/Utilities/Terminal.app
- Download the
.zip
package to yourDownload
folder and unzip there. - It is important to go into the downloaded folder:
$ cd ~/Downloads/macOS_CLI_Speedtest-main
- Check your current path with
$ pwd
, it hast to be:/Users/<USERNAME>/Downloads/macOS_CLI_Speedtest-main
$ pwd
- Start the installation with
$ sudo
and thesh
command:$ sudo sh installer.sh
- Now you can run the
$ speedtest
command in the Terminal$ speedtest
After your first run of the $ speedtest
command, you will get an error message like this:
- So you need to
cancel
this error message and got to yourSystem Preferences
.$ open /System/Applications/System\ Preferences.app
Go to Security
tab and click Open Anyway
if you're not an administrator, you need to open the lock in left corner.
That's it! Now you can run the $ speedtest
command in your CLI.
speedtest® by Ookla® is the official command line client for testing the speed and performance of your internet connection.
Version: speedtest 1.0.0.2
Usage: speedtest [<options>]
-h, --help Print usage information
-V, --version Print version number
-L, --servers List nearest servers
-s, --server-id=# Specify a server from the server list using its id
-I, --interface=ARG Attempt to bind to the specified interface when connecting to servers
-i, --ip=ARG Attempt to bind to the specified IP address when connecting to servers
-o, --host=ARG Specify a server, from the server list, using its host's fully qualified domain name
-p, --progress=yes|no Enable or disable progress bar (Note: only available for 'human-readable'
or 'json' and defaults to yes when interactive)
-P, --precision=# Number of decimals to use (0-8, default=2)
-f, --format=ARG Output format (see below for valid formats)
-u, --unit[=ARG] Output unit for displaying speeds (Note: this is only applicable
for ‘human-readable’ output format and the default unit is Mbps)
-a Shortcut for [-u auto-decimal-bits]
-A Shortcut for [-u auto-decimal-bytes]
-b Shortcut for [-u auto-binary-bits]
-B Shortcut for [-u auto-binary-bytes]
--selection-details Show server selection details
--ca-certificate=ARG CA Certificate bundle path
-v Logging verbosity. Specify multiple times for higher verbosity
--output-header Show output header for CSV and TSV formats
Valid output formats: human-readable (default), csv, tsv, json, jsonl, json-pretty
Machine readable formats (csv, tsv, json, jsonl, json-pretty) use bytes as the unit of measure with max precision
Valid units for [-u] flag:
Decimal prefix, bits per second: bps, kbps, Mbps, Gbps
Decimal prefix, bytes per second: B/s, kB/s, MB/s, GB/s
Binary prefix, bits per second: kibps, Mibps, Gibps
Binary prefix, bytes per second: kiB/s, MiB/s, GiB/s
Auto-scaled prefix: auto-binary-bits, auto-binary-bytes, auto-decimal-bits, auto-decimal-bytes
To uninstall the speedtest
just run:
$ sudo rm -r /usr/local/Cellar/speedtest /usr/local/bin/speedtest
All Informations like:
- Copyright Notices
- Terms of Use and Privacy Policy Notice
- Third-Party Products/Libraries
- Release Notes
- Disclaimer
and more are in this FILE
- Original CLI Software from: Speedtest® by Ookla®
https://www.speedtest.net/de/apps/cli - Installer script by zensudo