# No root required
# Temporarily downloads the python speedtest-cli tool and runs it (python required)
curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python -
#for Ubuntu/ Debian
sudo apt-get install speedtest
#for mac:
brew tap teamookla/speedtest
brew update
brew install speedtest --force
curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python -
## If migrating from prior bintray install instructions please first...# sudo rm /etc/apt/sources.list.d/speedtest.list# sudo apt-get update# sudo apt-get remove speedtest ## Other non-official binaries will conflict with Speedtest CLI# Example how to remove using apt-get# sudo apt-get remove speedtest-cli curl -s https://install.speedtest.net/app/cli/install.deb.sh | sudo bashsudo apt-get install speedtest
sudo apt-get install gnupg1 apt-transport-https dirmngr
export INSTALL_KEY=379CE192D401AB61
export DEB_DISTRO=$(lsb_release -sc)
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $INSTALL_KEY
echo "deb https://ookla.bintray.com/debian ${DEB_DISTRO} main" | sudo tee /etc/apt/sources.list.d/speedtest.list
sudo apt-get update
sudo apt-get install speedtest