{"id":8076,"date":"2026-02-18T12:13:10","date_gmt":"2026-02-18T12:13:10","guid":{"rendered":"https:\/\/www.hostinger.com\/support\/?p=8076"},"modified":"2026-02-18T12:14:50","modified_gmt":"2026-02-18T12:14:50","slug":"how-to-test-vps-network-speed-using-the-official-speedtest-cli","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/how-to-test-vps-network-speed-using-the-official-speedtest-cli\/","title":{"rendered":"How to test VPS network speed using the official Speedtest CLI"},"content":{"rendered":"<p>You can test your VPS network speed using the official Speedtest CLI by Ookla. This tool measures ping (latency), download speed, and upload speed directly from your server.<\/p><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">We recommend using the official Speedtest CLI instead of the older speedtest-cli Python script for more accurate and up-to-date results.<\/div><h2 id=\"install\">Install the official Speedtest CLI<\/h2><p>Connect to your VPS via SSH or browser terminal.<\/p><p>On Ubuntu \/ Debian:<\/p><pre><code>curl -s https:\/\/packagecloud.io\/install\/repositories\/ookla\/speedtest-cli\/script.deb.sh | sudo bash\r\n\r\nsudo apt install speedtest -y<\/code><\/pre><p>On AlmaLinux \/ CentOS \/ RHEL<\/p><pre><code>curl -s https:\/\/packagecloud.io\/install\/repositories\/ookla\/speedtest-cli\/script.rpm.sh | sudo bash\r\n\r\nsudo dnf install speedtest -y<\/code><\/pre><p>If prompted, accept the license agreement.<\/p><h2 id=\"speedtest\">Run the Speedtest<\/h2><p>After installation, run:<\/p><pre><code>speedtest<\/code><\/pre><p>The tool will automatically select the closest server and display:<\/p><ul>\n<li>Ping (latency)<\/li>\n<li>Download speed<\/li>\n<li>Upload speed<\/li>\n<\/ul><h3>Important Notes<\/h3><ul>\n<li>Speed test results may vary depending on server load and routing.<\/li>\n<li>Your VPS plan bandwidth limits still apply.<\/li>\n<li>For more reliable results, run multiple tests at different times.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>You can test your VPS network speed using the official Speedtest CLI by Ookla. This tool measures ping (latency), download speed, and upload speed directly&#8230;<\/p>\n","protected":false},"author":386,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[199],"tags":[],"class_list":["post-8076","post","type-post","status-publish","format-standard","hentry","category-vps-management"],"hreflangs":[],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/8076","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/386"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=8076"}],"version-history":[{"count":2,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/8076\/revisions"}],"predecessor-version":[{"id":8078,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/8076\/revisions\/8078"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=8076"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=8076"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=8076"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}