Technically correct answer but not super helpful imo.
yay <package name> starts a search from which you enter your selection(s) from matches. yay -S <package name> installs the package directly, errors if it's not found
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments