Setup internet connect first, then run the commands below.
sudo apt install git
git clone https://github.com/jonathonlefler/setup.git
cd ~/setup
sudo ./nodeSetup.sh node{#}
Replace {#} with the number of the node.
node{#} will replace the default hostname of raspberry.