← All tips

Test your internet connection from Terminal

networkQuality, built in since macOS Monterey, measures speed and responsiveness without a website.

There is a speed test built into macOS, no website or app required. In Terminal:

networkQuality

When it finishes, it prints your upload and download capacity and a responsiveness figure in RPM — round trips per minute. That last number is closer to what you notice on a video call than raw speed is: a connection can be fast and still sluggish.

A few options change how it runs:

networkQuality -v       # more detail
networkQuality -s       # test upload and download one after the other
networkQuality -I en0   # use one network interface only

By default it measures upload and download at the same time and against Apple’s servers, so the figures will not match a speed-test website exactly. It has been part of macOS since Monterey.


Related tips