• ekZepp@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    12 小时前

    -S, --sync

    Synchronize packages. Packages are installed directly from the remote repositories, including all dependencies required to run the packages.

    • floquant@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      3
      ·
      6 小时前

      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