🗓️ 01062026 1727

YAY

yay (Yet Another Yogurt) is the most widely used AUR helper on Arch-based systems. It wraps pacman and adds AUR support — same flags work for both official repo and AUR packages.

One-Time Setup​

sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay && makepkg -si

Common Commands​

ActionCommand
Install (AUR or official)yay -S pkgname
Update everythingyay -Syu
Update AUR packages onlyyay -Sua
Remove packageyay -R pkgname
Searchyay pkgname
Clone PKGBUILD without installingyay -G pkgname
Print PKGBUILDyay -Gp pkgname
Update VCS/git packagesyay -Syu --devel
Show statsyay -Ps

Interactive Prompts​

By default yay prompts to review diffs and edit PKGBUILDs. To skip for trusted packages:

yay -S pkgname --nodiffmenu --noeditpkgbuild

References​