{"id":17517,"date":"2026-07-06T07:44:45","date_gmt":"2026-07-06T07:44:45","guid":{"rendered":"https:\/\/greenwebpage.com\/community\/?p=17517"},"modified":"2026-07-06T07:44:48","modified_gmt":"2026-07-06T07:44:48","slug":"how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli","status":"publish","type":"post","link":"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/","title":{"rendered":"How to Test Internet Speed on Ubuntu 26.04 with Speedtest-CLI (Step-by-Step Guide)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\n  Testing internet speed is essential for diagnosing slow deployments, validating bandwidth-tier upgrades, benchmarking a new VPS, or troubleshooting high-latency connections before opening a support ticket with your ISP. Because Ubuntu 26.04 LTS servers typically run headless with no browser available, web-based tools like Speedtest.net or Google&#8217;s Internet Speed Test simply aren&#8217;t an option. Speedtest-CLI solves this completely; it brings the full Speedtest.net measurement infrastructure to the terminal in a single command. \n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  This step-by-step guide covers how to test internet speed on Ubuntu 26.04, explains every useful flag, and answers the most common questions sysadmins ask about command-line internet speed testing on Linux.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>TABLE OF CONTENTS<\/strong>\n<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#What-is-Speedtest-CLI-and-Why-Use-It-on-Ubuntu\">What is Speedtest-CLI and why use it on Ubuntu?<\/a><\/li>\n\n\n\n<li><a href=\"#Prerequisites-and-System-Requirements\">Prerequisites and system requirements<\/a><\/li>\n\n\n\n<li><a href=\"#How-to-Test-Internet-Speed-on-Ubuntu-26.04-with-Speedtest-CLI\">How to Test Internet Speed on Ubuntu 26.04 with Speedtest-CLI<\/a><\/li>\n\n\n\n<li><a href=\"#Method-1:-Install-speedtest-cli-via-apt-(Community-Tool)\">Method 1: Install speedtest-cli via apt (Community tool)<\/a><\/li>\n\n\n\n<li><a href=\"#Method-2:-Install-the-Official-Ookla-Speedtest-CLI-via-Snap\">Method 2: Install the official Ookla Speedtest CLI via Snap<\/a><\/li>\n\n\n\n<li><a href=\"#Method-3:-Install-speedtest-cli-via-pip3\">Method 3: Install speedtest-cli via pip3<\/a><\/li>\n\n\n\n<li><a href=\"#Verify-the-Installation\">Verify the installation<\/a><\/li>\n\n\n\n<li><a href=\"#How-to-Run-an-Internet-Speed-Test-from-the-Terminal\">How to run an internet speed test from the terminal<\/a><\/li>\n\n\n\n<li><a href=\"#Useful-Flags-and-Advanced-Usage\">Useful flags and advanced usage<\/a><\/li>\n\n\n\n<li><a href=\"#Conclusion\">Conclusion<\/a><\/li>\n\n\n\n<li><a href=\"#Frequently-Asked-Questions\">Frequently asked questions<\/a><br>  <\/li>\n<\/ul>\n\n\n\n<h2 id=\"What-is-Speedtest-CLI-and-Why-Use-It-on-Ubuntu\" class=\"wp-block-heading\"><a id=\"post-17517-_dmhqslbdx5pw\"><\/a>What is Speedtest-CLI and Why Use It on Ubuntu?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.speedtest.net\/apps\/cli\">Speedtest-CLI<\/a> is an open-source, Python-based command-line tool that interfaces directly with the Speedtest.net server network to measure three core network metrics from a Linux terminal: ping latency (in milliseconds), download bandwidth (in Mbps), and upload bandwidth (in Mbps). \n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Two distinct tools share a similar name and use case: the community-maintained speedtest-cli <a href=\"https:\/\/greenwebpage.com\/community\/how-to-install-python-on-debian-12\/\">Python script<\/a> (available on PyPI and in Ubuntu&#8217;s apt repository) and the official Ookla Speedtest CLI binary (distributed as a Snap package). Both produce accurate, repeatable results and are suitable for production Ubuntu server environments.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On Ubuntu 26.04 LTS server installations, no web browser is installed by default. This makes browser-based speed testing at Speedtest.net, Fast.com, or Google&#8217;s internet speed test impossible without installing a full desktop environment, which is neither practical nor desirable on a minimal server image. Speedtest-CLI removes that dependency entirely and delivers the same measurement accuracy in a lightweight terminal tool that runs over any SSH session.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 id=\"Prerequisites-and-System-Requirements\" class=\"wp-block-heading\"><a id=\"post-17517-_coyheov1d824\"><\/a>Prerequisites and System Requirements<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Before installing speedtest-cli on Ubuntu 26.04, confirm your environment meets the following basic requirements.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  \u25cf      <strong>Operating system<\/strong>: Ubuntu 26.04 LTS (server or desktop, 64-bit)\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  \u25cf      <strong>User account<\/strong>: A non-root user with sudo privileges, or the root user directly\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  \u25cf      <strong>Internet access<\/strong>: Required to download packages and to contact Speedtest.net servers\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  \u25cf      <strong>Python 3<\/strong>: Pre-installed on Ubuntu 26.04 (required for the pip3 and apt methods)\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u25cf      Terminal access<\/strong>: Local console, <a href=\"https:\/\/greenwebpage.com\/community\/how-to-enable-ssh-on-ubuntu-24-04\/\">SSH session<\/a>, or any terminal emulator\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 id=\"How-to-Test-Internet-Speed-on-Ubuntu-26.04-with-Speedtest-CLI\" class=\"wp-block-heading\"><a id=\"post-17517-_ubuo4asfos6e\"><\/a>How to Test Internet Speed on Ubuntu 26.04 with Speedtest-CLI<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Using Speedtest-CLI helps verify ISP performance, troubleshoot network issues, and monitor connection quality directly from the Ubuntu command line. This step-by-step guide covers installation, running speed tests, and interpreting download speed, upload speed, and latency results accurately. \n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Learn how to test internet speed on Ubuntu 26.04 using Speedtest-CLI with a simple, terminal-based method trusted by Linux administrators and network professionals.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 id=\"Method-1:-Install-speedtest-cli-via-apt-(Community-Tool)\" class=\"wp-block-heading\"><a id=\"post-17517-_bxrtd8uipcis\"><\/a>Method 1: Install speedtest-cli via apt (Community Tool)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\n  The speedtest-cli Python package is available in Ubuntu&#8217;s default apt repositories. This is the simplest installation method and the right choice for most Ubuntu 26.04 users who want a quick, no-configuration speed test from the terminal. The package is maintained by the community and interfaces with Speedtest.net&#8217;s infrastructure.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-17517-_l61p9c4cq34a\"><\/a>1. Update the package index<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Refresh apt to ensure you install the latest available version\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo apt update\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1053\" height=\"470\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-1.png\" alt=\"  sudo apt update\n\" class=\"wp-image-17518\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-1.png 1053w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-1-300x134.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-1-1024x457.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-1-768x343.png 768w\" sizes=\"(max-width: 1053px) 100vw, 1053px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-17517-_9ta4y8s4nfab\"><\/a>2. Install speedtest-cli<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Install the speedtest-cli package from Ubuntu&#8217;s repository\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo apt install speedtest-cli -y\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1044\" height=\"502\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-2.png\" alt=\"  sudo apt install speedtest-cli -y\n\" class=\"wp-image-17519\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-2.png 1044w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-2-300x144.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-2-1024x492.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-2-768x369.png 768w\" sizes=\"(max-width: 1044px) 100vw, 1044px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-17517-_dmhwb77u7kgc\"><\/a>3. Confirm the installation<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Print the installed version to confirm successful installation\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  speedtest-cli &#8211;version\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1037\" height=\"149\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-3.png\" alt=\"  speedtest-cli --version\n\" class=\"wp-image-17520\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-3.png 1037w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-3-300x43.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-3-1024x147.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-3-768x110.png 768w\" sizes=\"(max-width: 1037px) 100vw, 1037px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 id=\"Method-2:-Install-the-Official-Ookla-Speedtest-CLI-via-Snap\" class=\"wp-block-heading\"><a id=\"post-17517-_t4re3ex6gmr1\"><\/a>Method 2: Install the Official Ookla Speedtest CLI via Snap<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Ookla, the company behind Speedtest.net, provides its own official command-line tool called Speedtest CLI. Unlike the community speedtest-cli package, this is Ookla&#8217;s proprietary binary and provides additional metrics, including jitter and packet loss. On Ubuntu 24.04 and later (including Ubuntu 26.04), the recommended install path is via Snap because Ookla&#8217;s apt repository does not yet support the newer Ubuntu codenames.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-17517-_yavks44b0nob\"><\/a>1. Install Snap support (already enabled on Ubuntu 26.04 by default)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Confirm snapd is installed and running\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo systemctl status snapd &#8211;no-pager\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1050\" height=\"527\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-4.png\" alt=\"  sudo systemctl status snapd --no-pager\n\" class=\"wp-image-17521\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-4.png 1050w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-4-300x151.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-4-1024x514.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-4-768x385.png 768w\" sizes=\"(max-width: 1050px) 100vw, 1050px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  If snapd is not installed, install it first\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo apt update &amp;&amp; sudo apt install snapd -y\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1046\" height=\"614\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-5.png\" alt=\"  sudo apt update &amp;&amp; sudo apt install snapd -y\n\" class=\"wp-image-17522\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-5.png 1046w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-5-300x176.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-5-1024x601.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-5-768x451.png 768w\" sizes=\"(max-width: 1046px) 100vw, 1046px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-17517-_o3p5ccl2wo8e\"><\/a>2. Install the Ookla Speedtest CLI Snap<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Install the official Ookla Speedtest CLI from the Snap Store\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo snap install speedtest\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1038\" height=\"114\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-6.png\" alt=\"  sudo snap install speedtest\n\" class=\"wp-image-17523\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-6.png 1038w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-6-300x33.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-6-1024x112.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-6-768x84.png 768w\" sizes=\"(max-width: 1038px) 100vw, 1038px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-17517-_8kx9b06v8kyq\"><\/a>3. Accept the licence and run the tool<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\n  First run asks you to accept Ookla&#8217;s licence, type YES when prompted\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  speedtest\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1043\" height=\"506\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-7.png\" alt=\"  speedtest\n\" class=\"wp-image-17524\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-7.png 1043w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-7-300x146.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-7-1024x497.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-7-768x373.png 768w\" sizes=\"(max-width: 1043px) 100vw, 1043px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Licence notice  <\/strong>Ookla&#8217;s official Speedtest CLI requires you to accept a licence agreement on first use. Type YES when prompted and press Enter. The licence must be accepted before the tool will produce results. This only happens once per installation.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 id=\"Method-3:-Install-speedtest-cli-via-pip3\" class=\"wp-block-heading\"><a id=\"post-17517-_ydt2e18s9b4v\"><\/a>Method 3: Install speedtest-cli via pip3<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Installing speedtest-cli through pip3 (Python&#8217;s package manager) gives you the latest upstream release directly from PyPI, which may be newer than the version in Ubuntu&#8217;s apt repository. This method is also useful when you want to install the tool inside a Python virtual environment for scripting or automation projects without affecting system-wide packages.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-17517-_e63e1h68qtl2\"><\/a>1. Install pip3 if not already present<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/greenwebpage.com\/community\/how-to-install-python-2-on-ubuntu-24-04\/\">Install the Python 3<\/a> pip package manager\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo apt install python3-pip -y\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1040\" height=\"563\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-8.png\" alt=\"  sudo apt install python3-pip -y\n\" class=\"wp-image-17525\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-8.png 1040w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-8-300x162.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-8-1024x554.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-8-768x416.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-8-960x520.png 960w\" sizes=\"(max-width: 1040px) 100vw, 1040px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-17517-_73q9ljiayon1\"><\/a>2. Install speedtest-cli via pip3<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Install the latest speedtest-cli release from PyPI\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  pip3 install speedtest-cli\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1049\" height=\"169\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-9.png\" alt=\"  pip3 install speedtest-cli\n\" class=\"wp-image-17526\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-9.png 1049w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-9-300x48.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-9-1024x165.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-9-768x124.png 768w\" sizes=\"(max-width: 1049px) 100vw, 1049px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  If you see a PATH warning, either use the full path or add ~\/.local\/bin to PATH\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  echo &#8216;export PATH=&#8221;$HOME\/.local\/bin:$PATH&#8221;&#8216; &gt;&gt; ~\/.bashrc &amp;&amp; source ~\/.bashrc\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Which method should you choose?<\/strong>\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n   For most Ubuntu 26.04 users, Method 1 (apt) is the correct choice; it is the simplest, integrates with the system package manager, and requires no additional setup. Use Method 2 (Snap) if you specifically want Ookla&#8217;s official binary with jitter and packet loss metrics. Use Method 3 (pip3) only if you need the latest PyPI release or are embedding speedtest-cli into a Python project.\n<\/p>\n\n\n\n<h2 id=\"Verify-the-Installation\" class=\"wp-block-heading\"><a id=\"post-17517-_uv1f428lscum\"><\/a>Verify the Installation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Regardless of which installation method you used, confirm speedtest-cli is accessible and working before running a full test.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  For the apt or pip3 install (community speedtest-cli)\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  speedtest-cli &#8211;version\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1045\" height=\"149\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-10.png\" alt=\"  speedtest-cli --version\n\" class=\"wp-image-17527\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-10.png 1045w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-10-300x43.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-10-1024x146.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-10-768x110.png 768w\" sizes=\"(max-width: 1045px) 100vw, 1045px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Confirm the binary location\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  which speedtest-cli\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1040\" height=\"113\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-11.png\" alt=\"  which speedtest-cli\n\" class=\"wp-image-17528\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-11.png 1040w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-11-300x33.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-11-1024x111.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-11-768x83.png 768w\" sizes=\"(max-width: 1040px) 100vw, 1040px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  For the Ookla Snap install\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  speedtest &#8211;version\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1039\" height=\"148\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-12.png\" alt=\"  speedtest --version\n\" class=\"wp-image-17529\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-12.png 1039w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-12-300x43.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-12-1024x146.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-12-768x109.png 768w\" sizes=\"(max-width: 1039px) 100vw, 1039px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note<\/strong>: A successful apt or pip3 install prints a version string such as speedtest-cli 2.1.3. Which command should return \/usr\/bin\/speedtest-cli for apt installs or \/home\/user\/.local\/bin\/speedtest-cli for pip3 installs. The Ookla Snap binary resolves to \/snap\/bin\/speedtest.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 id=\"How-to-Run-an-Internet-Speed-Test-from-the-Terminal\" class=\"wp-block-heading\"><a id=\"post-17517-_k7yiudx66siz\"><\/a>How to Run an Internet Speed Test from the Terminal<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Running speedtest-cli requires no configuration. The tool automatically selects the best Speedtest.net server near your location based on ping latency and runs the full download and upload measurement cycle. A single command is all it takes.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-17517-_zgadb8jjnkt6\"><\/a>1. Run a standard speed test<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Run a full speed test against the automatically selected nearest server\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  speedtest-cli\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1039\" height=\"415\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-13.png\" alt=\"  speedtest-cli\n\" class=\"wp-image-17530\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-13.png 1039w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-13-300x120.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-13-1024x409.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-13-768x307.png 768w\" sizes=\"(max-width: 1039px) 100vw, 1039px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-17517-_s1xb07lobzx8\"><\/a>2. Run a simplified output (ping, download, upload only)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\n   &#8211;simple suppresses progress output and prints only the three key metrics\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  speedtest-cli &#8211;simple\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1044\" height=\"204\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-14.png\" alt=\"  speedtest-cli --simple\n\" class=\"wp-image-17531\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-14.png 1044w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-14-300x59.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-14-1024x200.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-14-768x150.png 768w\" sizes=\"(max-width: 1044px) 100vw, 1044px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-17517-_sm5138qnd9u7\"><\/a>3. Run the Ookla official CLI (with jitter and packet loss) <\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Full test with the official Ookla binary\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  speedtest\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1043\" height=\"506\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-15.png\" alt=\"  speedtest\n\" class=\"wp-image-17532\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-15.png 1043w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-15-300x146.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-15-1024x497.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/word-image-17517-15-768x373.png 768w\" sizes=\"(max-width: 1043px) 100vw, 1043px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 id=\"Useful-Flags-and-Advanced-Usage\" class=\"wp-block-heading\"><a id=\"post-17517-_ncsj3d28o5dn\"><\/a>Useful Flags and Advanced Usage<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Both speedtest-cli tools accept a range of flags that make them significantly more powerful for production monitoring, ISP comparison, and scripting workflows.\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p><strong>Flag \/ Option<\/strong>\n<\/p><\/th><th><p><strong>Purpose<\/strong>\n<\/p><\/th><th><p><strong>Example Command<\/strong>\n<\/p><\/th><\/tr><tr><th><p>\n  &#8211;simple\n<\/p><\/th><th><p>\n  Show only ping, download, and upload results, without progress bars.\n<\/p><\/th><th><p>\n  speedtest-cli &#8211;simple\n<\/p><\/th><\/tr><tr><th><p>\n  &#8211;share\n<\/p><\/th><th><p>\n  Generate a shareable Speedtest.net result image URL.\n<\/p><\/th><th><p>\n  speedtest-cli &#8211;share\n<\/p><\/th><\/tr><tr><th><p>\n  &#8211;bytes\n<\/p><\/th><th><p>\n  Display speeds in MB\/s instead of Mbit\/s.\n<\/p><\/th><th><p>\n  speedtest-cli &#8211;bytes\n<\/p><\/th><\/tr><tr><th><p>\n  &#8211;no-upload\n<\/p><\/th><th><p>\n  Skip the upload test for a faster, download-only measurement.\n<\/p><\/th><th><p>\n  speedtest-cli &#8211;no-upload\n<\/p><\/th><\/tr><tr><th><p>\n  &#8211;no-download\n<\/p><\/th><th><p>\n  Skip the download test and measure only the upload speed.\n<\/p><\/th><th><p>\n  speedtest-cli &#8211;no-download\n<\/p><\/th><\/tr><tr><th><p>\n  &#8211;list\n<\/p><\/th><th><p>\n  List all available Speedtest.net servers near you.\n<\/p><\/th><th><p>\n  speedtest-cli &#8211;list\n<\/p><\/th><\/tr><tr><th><p>\n  &#8211;server ID\n<\/p><\/th><th><p>\n  Test against a specific server using its numeric ID.\n<\/p><\/th><th><p>\n  speedtest-cli &#8211;server 1234\n<\/p><\/th><\/tr><tr><th><p>\n  &#8211;json\n<\/p><\/th><th><p>\n  Output results in JSON format for scripting and automation.\n<\/p><\/th><th><p>\n  speedtest-cli &#8211;json\n<\/p><\/th><\/tr><tr><th><p>\n  &#8211;quiet\n<\/p><\/th><th><p>\n  Suppress all output except errors, useful for cron jobs or scripts.\n<\/p><\/th><th><p>\n  speedtest-cli &#8211;quiet\n<\/p><\/th><\/tr><tr><th><p>\n  &#8211;timeout N\n<\/p><\/th><th><p>\n  Set a maximum timeout in seconds for each test operation.\n<\/p><\/th><th><p>\n  speedtest-cli &#8211;timeout 30\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<h2 id=\"Conclusion\" class=\"wp-block-heading\"><a id=\"post-17517-_66e8szazl3ux\"><\/a>Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Install Speedtest CLI on Ubuntu 26.04 using: sudo apt update &amp;&amp; sudo apt install speedtest-cli -y. Run the internet speed test with: speedtest-cli. View download speed, upload speed, ping latency, and server details directly in the terminal.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 id=\"Frequently-Asked-Questions\" class=\"wp-block-heading\"><a id=\"post-17517-_g8yfd4wmeqg\"><\/a>Frequently Asked Questions<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1. How can I test internet speed using Google Speed Test?<br><\/strong>\n  Search for &#8220;test internet speed Google&#8221; in Google Search and run the built-in speed test powered by Measurement Lab.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>2. Does Google Fiber offer its own internet speed test?<br><\/strong>\n  Yes, Google Fiber provides a dedicated speed test to measure download speed, upload speed, and latency for home connections.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>3. What is the best internet speed test app or device?<br><\/strong>\n  Reliable internet speed test apps and dedicated testing devices provide more consistent results than browser tests on congested networks.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>4. How do I test internet speed on a PC?<br><\/strong>\n  Use a trusted browser-based speed test or desktop app, connect via Ethernet if possible, and close bandwidth-heavy applications before testing.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>5. Which internet speed test is the most accurate? Who provides it?<br><\/strong>\n  The most accurate speed tests use nearby servers, multiple connections, and transparent methodologies, with results varying based on your ISP and location rather than a single provider.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n    <div class=\"xs_social_share_widget xs_share_url after_content \t\tmain_content  wslu-style-1 wslu-share-box-shaped wslu-fill-colored wslu-none wslu-share-horizontal wslu-theme-font-no wslu-main_content\">\n\n\t\t\n        <ul>\n\t\t\t        <\/ul>\n    <\/div> \n","protected":false},"excerpt":{"rendered":"<p>Testing internet speed is essential for diagnosing slow deployments, validating bandwidth-tier upgrades, benchmarking a new VPS, or troubleshooting high-latency connections before opening a support ticket with your ISP. Because Ubuntu 26.04 LTS servers typically run headless with no browser available, web-based tools like Speedtest.net or Google&#8217;s Internet Speed Test simply aren&#8217;t an option. Speedtest-CLI solves [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":17553,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[1059,1058,1054],"class_list":["post-17517","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-internet-speed","tag-speedtest-cli","tag-ubuntu-26-04"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Test Internet Speed on Ubuntu 26.04 with Speedtest-CLI (Step-by-Step Guide) - Greenwebpage Community<\/title>\n<meta name=\"description\" content=\"This step-by-step guide covers how to test internet speed on Ubuntu 26.04, explains every useful flag, and answers the most common questions.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Test Internet Speed on Ubuntu 26.04 with Speedtest-CLI (Step-by-Step Guide) - Greenwebpage Community\" \/>\n<meta property=\"og:description\" content=\"This step-by-step guide covers how to test internet speed on Ubuntu 26.04, explains every useful flag, and answers the most common questions.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/\" \/>\n<meta property=\"og:site_name\" content=\"Greenwebpage Community\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-06T07:44:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-07-06T07:44:48+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/test-internet-speed-using-speedtest-cli-on-ubuntu-26.04.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1068\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Karim Buzdar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Karim Buzdar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/\"},\"author\":{\"name\":\"Karim Buzdar\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\"},\"headline\":\"How to Test Internet Speed on Ubuntu 26.04 with Speedtest-CLI (Step-by-Step Guide)\",\"datePublished\":\"2026-07-06T07:44:45+00:00\",\"dateModified\":\"2026-07-06T07:44:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/\"},\"wordCount\":1508,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/test-internet-speed-using-speedtest-cli-on-ubuntu-26.04.jpg\",\"keywords\":[\"Internet Speed\",\"Speedtest-CLI\",\"Ubuntu 26.04\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/\",\"name\":\"How to Test Internet Speed on Ubuntu 26.04 with Speedtest-CLI (Step-by-Step Guide) - Greenwebpage Community\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/test-internet-speed-using-speedtest-cli-on-ubuntu-26.04.jpg\",\"datePublished\":\"2026-07-06T07:44:45+00:00\",\"dateModified\":\"2026-07-06T07:44:48+00:00\",\"description\":\"This step-by-step guide covers how to test internet speed on Ubuntu 26.04, explains every useful flag, and answers the most common questions.\",\"breadcrumb\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/#primaryimage\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/test-internet-speed-using-speedtest-cli-on-ubuntu-26.04.jpg\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/test-internet-speed-using-speedtest-cli-on-ubuntu-26.04.jpg\",\"width\":1068,\"height\":600,\"caption\":\"test internet speed using speedtest-cli on ubuntu 26.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/greenwebpage.com\/community\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Test Internet Speed on Ubuntu 26.04 with Speedtest-CLI (Step-by-Step Guide)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"name\":\"Greenwebpage Community\",\"description\":\"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.\",\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/greenwebpage.com\/community\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\",\"name\":\"Greenwebpage Community\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"width\":512,\"height\":512,\"caption\":\"Greenwebpage Community\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\",\"name\":\"Karim Buzdar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"caption\":\"Karim Buzdar\"},\"sameAs\":[\"https:\/\/greenwebpage.com\"],\"url\":\"https:\/\/greenwebpage.com\/community\/author\/karim\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Test Internet Speed on Ubuntu 26.04 with Speedtest-CLI (Step-by-Step Guide) - Greenwebpage Community","description":"This step-by-step guide covers how to test internet speed on Ubuntu 26.04, explains every useful flag, and answers the most common questions.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/","og_locale":"en_US","og_type":"article","og_title":"How to Test Internet Speed on Ubuntu 26.04 with Speedtest-CLI (Step-by-Step Guide) - Greenwebpage Community","og_description":"This step-by-step guide covers how to test internet speed on Ubuntu 26.04, explains every useful flag, and answers the most common questions.","og_url":"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/","og_site_name":"Greenwebpage Community","article_published_time":"2026-07-06T07:44:45+00:00","article_modified_time":"2026-07-06T07:44:48+00:00","og_image":[{"width":1068,"height":600,"url":"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/test-internet-speed-using-speedtest-cli-on-ubuntu-26.04.jpg","type":"image\/jpeg"}],"author":"Karim Buzdar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Karim Buzdar","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/#article","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/"},"author":{"name":"Karim Buzdar","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8"},"headline":"How to Test Internet Speed on Ubuntu 26.04 with Speedtest-CLI (Step-by-Step Guide)","datePublished":"2026-07-06T07:44:45+00:00","dateModified":"2026-07-06T07:44:48+00:00","mainEntityOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/"},"wordCount":1508,"commentCount":0,"publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/test-internet-speed-using-speedtest-cli-on-ubuntu-26.04.jpg","keywords":["Internet Speed","Speedtest-CLI","Ubuntu 26.04"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/","url":"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/","name":"How to Test Internet Speed on Ubuntu 26.04 with Speedtest-CLI (Step-by-Step Guide) - Greenwebpage Community","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/#website"},"primaryImageOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/#primaryimage"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/test-internet-speed-using-speedtest-cli-on-ubuntu-26.04.jpg","datePublished":"2026-07-06T07:44:45+00:00","dateModified":"2026-07-06T07:44:48+00:00","description":"This step-by-step guide covers how to test internet speed on Ubuntu 26.04, explains every useful flag, and answers the most common questions.","breadcrumb":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/#primaryimage","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/test-internet-speed-using-speedtest-cli-on-ubuntu-26.04.jpg","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/07\/test-internet-speed-using-speedtest-cli-on-ubuntu-26.04.jpg","width":1068,"height":600,"caption":"test internet speed using speedtest-cli on ubuntu 26.04"},{"@type":"BreadcrumbList","@id":"https:\/\/greenwebpage.com\/community\/how-to-test-internet-speed-on-ubuntu-26-04-with-speedtest-cli\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/greenwebpage.com\/community\/"},{"@type":"ListItem","position":2,"name":"How to Test Internet Speed on Ubuntu 26.04 with Speedtest-CLI (Step-by-Step Guide)"}]},{"@type":"WebSite","@id":"https:\/\/greenwebpage.com\/community\/#website","url":"https:\/\/greenwebpage.com\/community\/","name":"Greenwebpage Community","description":"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.","publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/greenwebpage.com\/community\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/greenwebpage.com\/community\/#organization","name":"Greenwebpage Community","url":"https:\/\/greenwebpage.com\/community\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","width":512,"height":512,"caption":"Greenwebpage Community"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8","name":"Karim Buzdar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","caption":"Karim Buzdar"},"sameAs":["https:\/\/greenwebpage.com"],"url":"https:\/\/greenwebpage.com\/community\/author\/karim\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/17517","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/comments?post=17517"}],"version-history":[{"count":20,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/17517\/revisions"}],"predecessor-version":[{"id":17552,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/17517\/revisions\/17552"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media\/17553"}],"wp:attachment":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media?parent=17517"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/categories?post=17517"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/tags?post=17517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}