Skip to main content

Command Palette

Search for a command to run...

Test Internet Connection with macOS CLI

Updated

macOS CLI includes the networkQuality tool, which helps you test the quality of your Internet Connection Bandwidth. You can use this tool by opening the terminal app and typing:

networkQuality

You’ll then read the result of this test as it runs.

For me, this is the result:

==== SUMMARY ====
Uplink capacity: 4.212 Mbps
Downlink capacity: 37.017 Mbps
Responsiveness: Low (2.849 seconds | 21 RPM)
Idle Latency: 54.750 milliseconds | 1095 RPM

This tool also has multiple options. You may skip the download test by running networkQuality -d, or you could only test latency by skipping both download and upload test by running:

networkQuality -du

The result is only a latency test:

==== SUMMARY ====
Idle Latency: 55.542 milliseconds | 1080 RPM