Clone the repo into ~/.emacs.d
It's also possible to place configuration in $XDG_CONFIG_HOME/emacs since Emacs version 27.1.
cd ~/.emacs.d/scripts/emacs-source
./deps.sh
./build.sh -B master -c -b -i
Install dependencies (this pulls quite a lot of things)
~/.emacs.d/scripts/deps.sh