1 2 3 4 5 6 7 8 9
#!/bin/sh cwd=$(pwd) sudo pacman -S --noconfirm git git clone https://aur.archlinux.org/yay.git cd yay makepkg -si --noconfirm cd "$cwd"