How to install and use yay: The best AUR helper for Arch Linux
Channel: DenshiVideo
Date: 2020-12-15

==== Installing yay ====

git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

===== How to use yay ====

yay (nothing else) -- Updates repos and system + AUR packages

yay (search terms) -- Searches for packages in the repos and AUR
(Using the same formatting as pacman -Ss)

yay -S (or) -U (or) -R -- Same as their pacman equivalents, but with AUR support
(So for example, yay -S davinci-resolve installs Davinci Resolve from the AUR)

=== Some useful commands: ===

yay -Syu -- Updates the entire system like pacman, but also updates AUR
yay -c -- Cleans unused packages
yay -Sc -- Cleans pacman & AUR package caches

yay --noconfirm (options) -- Skips all y/n and other checks

yay -G (AUR package) -- Downloads PKGBUILDs for an AUR package
yay -P --stats -- list useful statistics regarding system packages

•Site: https://denshi.org