The most reliable way to benchmark your connection is through the Official Speedtest CLI . Unlike third-party scripts, this is a native binary provided by Ookla.

Simply type speedtest in your terminal. On the first run, you must accept the license by typing YES . Key Features:

Run fast for a quick result or fast -u to see both upload and download speeds. 3. Speedtest-CLI (The Python Alternative)

If you want to check if your ISP is throttling streaming traffic, use fast-cli. It uses the Fast.com infrastructure, which relies on Netflix's production servers. Requires Node.js and NPM. sudo apt install npm sudo npm install --global fast-cli Use code with caution.