This script was created from instructions found at GitHub.
Execute the following in a terminal session
curl -s https://raw.githubusercontent.com/whiskerz007/wireguard_rpi_installer/master/wg-rpi-install.sh | bash -s
or
wget -O - https://raw.githubusercontent.com/whiskerz007/wireguard_rpi_installer/master/wg-rpi-install.sh | bash -s