Last Updated: February 25, 2016
·
1.119K
· kylemclaren

Quick Command Line Speedtest

Instead of heading over to Speedtest.net to check your bandwidth speed, why not quickly check it out right from the command line?

$ pip install speedtest-cli

or

$ easy_install speedtest-cli

(You may need to use 'sudo')

Add an alias to your .bash_profile (if using bash) or .zshrc (if using zsh)

alias speed='speedtest --simple'

And finally test from the command line

$ speed

Ping: 9.934 ms
Download: 21.11 Mbit/s
Upload: 27.03 Mbit/s

Credit to Matt Martz for a great repo