Clone the repo and build:
git clone https://github.com/jaysalw/fetchdotfiles
cd fetchdotfiles
make
Then copy the binary somewhere in your PATH:
sudo cp fdf /usr/local/bin/
Or just for your user:
cp fdf ~/.local/bin/
yay -S fetchdots
Check it works:
fdf --version
fdf --help
Just delete the binary:
sudo rm /usr/local/bin/fdf