Skip to content

Instantly share code, notes, and snippets.

@whatafunc
Last active September 20, 2023 13:48
Show Gist options
  • Save whatafunc/78c37d042af273f339e2618d817eb6d0 to your computer and use it in GitHub Desktop.
Save whatafunc/78c37d042af273f339e2618d817eb6d0 to your computer and use it in GitHub Desktop.
Speedtest® CLI install for MAC OSX
Speedtest® CLI for MAC OSX:
brew tap teamookla/speedtest
brew update
# Example how to remove conflicting or old versions using brew
# brew uninstall speedtest --force
# brew uninstall speedtest-cli --force
brew install speedtest --force
Speedtest® CLI for CentOS
# If migrating from prior bintray install instructions please first...
# sudo rm /etc/yum.repos.d/bintray-ookla-rhel.repo
# sudo yum remove speedtest
## Other non-official binaries will conflict with Speedtest CLI
# Example how to remove using yum
# rpm -qa | grep speedtest | xargs -I {} sudo yum -y remove {}
curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.rpm.sh | sudo bash
sudo yum install speedtest
@whatafunc
Copy link
Author

speedtest []
-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)
--progress-update-interval=# Progress update interval (100-1000 milliseconds)
-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]

@whatafunc
Copy link
Author

speedtest -L
Closest servers:

ID  Name                           Location             Country

==============================================================================

@whatafunc
Copy link
Author

speedtest -L
Closest servers:

ID  Name                           Location             Country

==============================================================================
37599 Netprotect Paris France
24215 ORANGE FRANCE Paris France
12746 SFR Paris France
33869 Nextmap - LeKloud Paris France
6027 fdcservers.net Paris France
24130 Sewan Paris France
10676 Asthriona Paris France
28308 Axione Paris France
49027 SERVERD Paris France
50025 meowan-networks Paris France

@whatafunc
Copy link
Author

sudo speedtest -s 24215

Speedtest by Ookla

  Server: ORANGE FRANCE - Paris (id: 24215)
     ISP: abc xyz

Idle Latency: xx.15 ms (jitter: aa.08ms, low: bb.90ms, high: xxx.96ms)
Download: xx.56 Mbps (data used: 10.1 MB)
xxx.15 ms (jitter: xxx.06ms, low: xxx.41ms, high: xx5.94ms)
Upload: ZZZ.28 Mbps (data used: 7.3 MB)
zzz.00 ms (jitter: zz.98ms, low: z.98ms, high: zz.11ms)
Packet Loss: 0.0z%

@whatafunc
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment