DEV Community

Cover image for Connection speed test using command line
joshuajohnjay
joshuajohnjay

Posted on

1

Connection speed test using command line

Internet connection speed tests are abundant online, sure you can open a new browser tab and run a speed test but what if in the middle of working in your command line you can quickly check your connection speed and see if you have connectivity issues.

It is cool, efficient and of course possible, there are a lot of utilities on the web but I will be sharing the one from speedtest.net because it supports the following systems:

Alt Text

Let's try setting it up on a macOs terminal, you can view other installation options for other systems here:

$ brew tap teamookla/speedtest
$ brew update
$ brew install speedtest --force

Once the scripts above are finished running. You can run the test with the following command:

$ speedtest

It will render the server it connected to, your ISP, latency, download and upload speeds, packet loss and the result URL if you wanted to save, share or view in on the web.

Alt Text

Warp.dev image

Warp is the #1 coding agent.

Warp outperforms every other coding agent on the market, and gives you full control over which model you use. Get started now for free, or upgrade and unlock 2.5x AI credits on Warp's paid plans.

Download Warp

Top comments (0)

Dev Diairies image

User Feedback & The Pivot That Saved The Project

🔥 Check out Episode 3 of Dev Diairies, following a successful Hackathon project turned startup.

Watch full video 🎥

👋 Kindness is contagious

Explore this insightful write-up embraced by the inclusive DEV Community. Tech enthusiasts of all skill levels can contribute insights and expand our shared knowledge.

Spreading a simple "thank you" uplifts creators—let them know your thoughts in the discussion below!

At DEV, collaborative learning fuels growth and forges stronger connections. If this piece resonated with you, a brief note of thanks goes a long way.

Okay