Install what you need to compile:
sudo apt update
sudo apt install git cmake device-tree-compiler libfdt-dev build-essential
Download and extract Raspberry Pi Utils from GitHub:
git clone https://github.com/raspberrypi/utils
Navigate to the newly created folder:
cd utils
Compile the source files with:
cmake .
make
sudo make install