1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-30 20:17:57 +01:00
tldr/pages/linux/yay.md
2018-10-28 17:12:49 +00:00

28 lines
608 B
Markdown

# yay
> Yet Another Yogurt: A utility for Arch Linux to build and install packages from the Arch User Repository.
> Also see `pacman`.
- Interactively search and install packages from the repos and AUR:
`yay {{package_name|search_term}}`
- Synchronize and update all packages from the repos and AUR:
`yay`
- Synchronize and update only AUR packages:
`yay -Sua`
- Install a new package from the repos and AUR:
`yay -S {{package_name}}`
- Search the package database for a keyword from the repos and AUR:
`yay -Ss {{keyword}}`
- Show statistics for installed packages and system health:
`yay -Ps`