Hopefully it wasn’t one of the common, garbage tech blogs that uses very bad practices.
Yay is in the Manjaro community repo so it can be installed just like any other package with Pamac (Add/Remove Software) or Pacman.
Perhaps one of these tutorials may help you recover: