$ speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from BELNET (193.190.130.xxx)...
Selecting best server based on latency...
Hosted by Cu.be Solutions (Diegem) [46.42 km]: 3.552 ms
Testing download speed........................................
Download: 60.72 Mbits/s
Testing upload speed..................................................
Upload: 58.91 Mbits/s
Command line interface for testing internet bandwidth using speedtest.net
On OS X, install it via brew install speedtest_cli
.
Running OS X 10.10 and getting an error like /usr/local/bin/brew: /usr/local/Library/brew.rb: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: bad interpreter: No such file or directory
when running brew?
That’s because Ruby 1.8 got replaced by Ruby 2.0 on OS X 10.10.
To fix it, follow these instructions.