Brew tap for installing the speed-test NPM package
From the repo of the package:
Test your internet connection speed and ping using speedtest.net from the CLI
brew install bob-swinkels/speed-test/speed-test
Or brew tap bob-swinkels/speed-test
and then brew install speed-test
.
Or install via URL (which will not receive updates):
brew install https://raw.githubusercontent.com/bob-swinkels/homebrew-speed-test/master/Formula/speed-test.rb
brew help
, man brew
or check Homebrew's documentation.