# Install package foo yay -S foo
# Update all packages which has been installed yay -Syu
# remove foo yay -Rns foo