Skip to content

Instantly share code, notes, and snippets.

@donfreiday
donfreiday / install_yay.sh
Created July 9, 2021 11:03
Shell script to install yay on Arch Linux
#!/bin/bash
sudo pacman -Syu
mkdir /tmp/yay
cd /tmp/yay
curl -OJ 'https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=yay'
makepkg -si
cd
rm -rf /tmp/yay
yay --version