Quick command line WiFi speed test āš”ļø

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 your zsh config if using Oh My 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