yay man | Linux Command Library
https://linuxcommandlibrary.com/man/yayRemove an installed package and both its dependencies and configuration files $ yay -Rns [package_name] Search the package database for a keyword from the repos and AUR $ yay -Ss [keyword] Remove orphaned packages (installed as dependencies but not required by any package) $ yay -Yc Show statistics for installed packages and system health $ yay -Ps