In the terminal run (don't forget to pass into script your own wallet address):
sudo wget https://raw.githubusercontent.com/Raysharr/nimiq-miner-setup/master/nimiq-miner-install.sh && bash nimiq-miner-install.sh "NQ76 CKF8 QB3M 332J P6NJ UM2A H3JR 5U7R FQLF"