Forrest logo
tool overview
On this page you find all important commands for the CLI tool yay. If the command you are looking for is missing please ask our AI.

yay

Yay is a command line tool that is used as a package manager and AUR helper for Arch Linux-based systems. It provides an interactive and user-friendly interface to easily manage software packages. Swiss Army knife-like features make it a popular choice amongst Arch Linux users. Yay simplifies the process of installing, updating, removing, and searching for packages from both official repositories and the Arch User Repository (AUR). It has a wide range of functionalities like dependency resolution, building packages from source, and handling conflicts seamlessly. Yay also supports parallel package downloads and installations, allowing for efficient utilization of system resources. Its intuitive commands and options make it an efficient tool for managing software on Arch Linux systems.

List of commands for yay:

  • yay:tldr:2adbc yay: Search the package database for a keyword from the repos and AUR.
    $ yay -Ss ${keyword}
    try on your machine
    explain this command
  • yay:tldr:4003d yay: Interactively search and install packages from the repos and AUR.
    $ yay ${select}
    try on your machine
    explain this command
  • yay:tldr:402ac yay: Synchronize and update all packages from the repos and AUR.
    $ yay
    try on your machine
    explain this command
  • yay:tldr:8f09d yay: Synchronize and update only AUR packages.
    $ yay -Sua
    try on your machine
    explain this command
  • yay:tldr:9a7d9 yay: Show statistics for installed packages and system health.
    $ yay -Ps
    try on your machine
    explain this command
  • yay:tldr:a6086 yay: Remove orphaned packages (installed as dependencies but not required by any package).
    $ yay -Yc
    try on your machine
    explain this command
  • yay:tldr:e54c9 yay: Remove an installed package and both its dependencies and configuration files.
    $ yay -Rns ${package_name}
    try on your machine
    explain this command
  • yay:tldr:f80b4 yay: Install a new package from the repos and AUR.
    $ yay -S ${package_name}
    try on your machine
    explain this command
tool overview