Quick Guide: Performing Fast Network Latency Checks Across Windows, macOS & Linux

Quick Guide: Performing Fast Network Latency Checks Across Windows, macOS & Linux

Andrew Lv13

Quick Guide: Performing Fast Network Latency Checks Across Windows, macOS & Linux

Internet speed test websites are often bogged down with ads, slowing down your system. Fortunately, Ookla offers a lightweight Command Line Interface (CLI) version of its speed test so you can test your internet speed without the overhead of a web browser. Here’s how to use it on macOS, Windows, and Linux.

Run a Speed Test on Mac via Terminal

To accomplish this on Mac, we will be using Homebrew , a popular macOS package manager . If you haven’t installed Homebrew yet or if you are unsure, open Terminal (you’ll find it under Applications > Utilities) and enter the following command:

    `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`

This command will download and install Homebrew. Once installed, you can easily install the speed test CLI by entering:

    `brew install speedtest-cli`

After the installation is complete, you can run the speed test by simply typing:

    `speedtest-cli  

`

Running speedtest cli in macOS Terminal.

This command will initiate a quick analysis of your internet connection speed, all from within the Terminal. This method not only saves system resources but also eliminates the need for navigating through ad-heavy websites.

Run a Speed Test on Windows via Command Prompt

Installing the speed test CLI on a Windows PC is straightforward. Start by visiting the Speedtest CLI download page . Scroll down to find the download option for Windows. It’s important to note that the CLI tool is only available for 64-bit versions of Windows.

Downloading Speedtest CLI on Windows

PDF application, powered by AI-based OCR, for unified workflows with both digital and scanned documents.

After downloading the installer, unzip the file to find “speedtest.exe.” It’s a good idea to place this file in a directory like C:\Program Files\speedtest.exe as this location is both easy to remember and accessible by all user accounts on your system. For added convenience, consider creating a desktop shortcut or pinning the executable to your taskbar.

To run the speed test in Command Prompt (hit Start, type “command” and click “Command Prompt” when it appears), all you need to do is type the full path to the executable, encased in quotation marks to prevent conflicts arising from spaces, and hit enter:

    `"C:\Program Files\speedtest.exe"`

To run in PowerShell (Terminal) , the syntax is slightly modified. You must prepend an ampersand to run the executable at the given file path, like so:

    `& "C:\Program Files\speedtest.exe"`

Running Speedtest CLI in PowerShell

Video Converter Factory Pro

These commands will run the application via the command line, providing you with a quick readout of your current internet speed and related parameters.

NeoDownloader - Fast and fully automatic image/video/music downloader.

Run a Speed Test on Linux via Terminal

Linux users have a slightly different setup process, as the steps can vary depending on the distribution. Here, we’ll cover the installation process for one of the most widely used distributions : Debian/Ubuntu.

First, open a Terminal window. Before installing the speed test CLI, you may need to install curl, a command-line tool for transferring data with URLs. If you’re unsure whether curl is installed, you can install it by running:

    `sudo apt-get install curl`

Next, add the Ookla repository to your list of package sources. This ensures that you get the latest version of the speed test CLI. Use the following command to do this:

    `curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | sudo bash`

Once the repository is added, you can install the speed test CLI with:

    `sudo apt-get install speedtest`

Running Speedtest CLI on Ubuntu.

DEX 3 RE is Easy-To-Use DJ Mixing Software for MAC and Windows Designed for Today’s Versatile DJ.

Mix from your own library of music, iTunes or use the Pulselocker subsciprtion service for in-app access to over 44 million songs. Use with over 85 supported DJ controllers or mix with a keyboard and mouse. 

DEX 3 RE is everything you need without the clutter - the perfect 2-deck mixing software solution for mobile DJs or hard-core hobbiests. 
PCDJ DEX 3 RE (DJ Software for Win & MAC - Product Activation For 3 Machines)

After installation, you can test your internet speed by typing “speedtest” in the Terminal and pressing enter. This command will run the test and display the results directly in the window.


Using Ookla’s CLI speed test is an efficient way to measure your internet connection speed without the distractions and slowdowns caused by browser-based tools. No matter which OS you’re using, this lightweight tool provides accurate and quick results. It’s particularly useful when you want to avoid ads or need to integrate speed tests into automated systems or scripts.

With just a few commands or a shortcut workflow, you can have a reliable tool at your disposal for monitoring and diagnosing your network performance, empowering you to run a network test at the drop of a hat or a hotkey.

  • Title: Quick Guide: Performing Fast Network Latency Checks Across Windows, macOS & Linux
  • Author: Andrew
  • Created at : 2024-08-30 14:39:28
  • Updated at : 2024-08-31 14:39:28
  • Link: https://tech-renaissance.techidaily.com/quick-guide-performing-fast-network-latency-checks-across-windows-macos-and-linux/
  • License: This work is licensed under CC BY-NC-SA 4.0.