You Can Install Pi-Hole With One Command:

curl -sSL https://install.pi-hole.net | bash

Or You Can Clone The Repository:

git clone --depth 1 https://github.com/pi-hole/pi-hole.git Pi-hole

cd "Pi-hole/automated install/"
sudo bash basic-install.sh

You Can Add The Speed Test Option If You Like By Doing The Following Commands:

sudo apt install python-pip
sudo pip install speedtest-cli
sudo apt install sqlite3

sudo dpkg-reconfigure tzdata  "set local time"

sudo apt install php7.0-sqlite

sudo reboot 

speedtest-cli

sudo su
cd /var/www/html
mv admin org_admin
git clone https://github.com/arevindh/AdminLTE admin

cd /opt/pihole/
mv webpage.sh webpage.sh.org
wget https://github.com/arevindh/pi-hole/raw/master/advanced/Scripts/webpage.sh

sudo reboot