yay wraps pacman for official Arch repos and adds AUR installs, PKGBUILD downloads, dependency solving, devel package updates, and voting.
Overview
yay (Yet Another Yogurt) is an Arch User Repository helper written in Go. It presents a pacman-compatible CLI that handles both repository packages and AUR packages, including searching, building with makepkg, and upgrading both sources together.
Features include advance dependency resolution, downloading PKGBUILDs from ABS or AUR, shell completions, upfront prompts before builds, narrow search, provider selection during search, removing make dependencies after builds, building local PKGBUILDs with AUR deps, and voting or unvoting packages when credentials are set.
Install paths include cloning the AUR PKGBUILD and makepkg, prebuilt binaries from GitHub Actions, or distribution packages on Manjaro and similar distros via pacman. Development -git packages can be tracked with a generated devel database and --devel upgrades.
Configuration covers colored output via pacman.conf, custom pagers for combined PKGBUILD diffs, filtering operations to --aur or --repo only, and saved defaults such as combined upgrade mode. Support is through GitHub issues rather than official Arch channels.
Key features
- Pacman-compatible CLI for repo and AUR
- PKGBUILD download and print
- Advanced dependency solving
- Narrow search and provider picking
- Devel -git package update tracking
- AUR vote and unvote commands
- Build local PKGBUILDs with AUR deps
- Clean unneeded dependencies
Use cases
- Installing packages from the AUR
- Full system upgrade including AUR
- Tracking -git package updates
- Downloading PKGBUILDs for inspection