Install GNU Stow
pacman -S stow
git clone https://github.com/snorrwe/dotfiles $HOME/.dotfiles
cd $HOME/.dotfiles
stow --adopt .
If checkout fails with file exists then backup and delete those.
bash .setup/setup.sh
Assumes you have pacman
and bash