yap (Yet Another Package-frontend) is a simple, human-readable wrapper for yay, the popular AUR helper for Arch Linux.
It provides a user-friendly verb-based syntax instead of pacman/yay's traditional flag-based system.
- Intuitive Syntax: use
yap installinstead ofyay -S. - Transparent: All commands are proxied to
yay, preserving interactive prompts, colors, and functionality. - Safe: No complex internal logic—just simple argument mapping.
| Command | Equivalent yay Command |
Description |
|---|---|---|
yap update |
yay -Syu |
Update all packages (Repo + AUR) |
yap install <pkg> |
yay -S <pkg> |
Install packages |
yap remove <pkg> |
yay -Rs <pkg> |
Remove packages (keep config) |
yap purge <pkg> |
yay -Rns <pkg> |
Remove packages and config |
yap search <query> |
yay -Ss <query> |
Search for packages |
yap info <pkg> |
yay -Si <pkg> |
Show package info |
yap clean |
yay -Sc |
Clean package cache |
yap autoremove |
yay -Yc |
Remove unneeded dependencies |
yap list |
yay -Q |
List all installed packages |
yap list explicit |
yay -Qe |
List explicitly installed packages |
yap list native |
yay -Qn |
List native repository packages |
yap list aur |
yay -Qm |
List AUR packages |
yap is available on the AUR as yap-bin.
yay -S yap-bin-
Clone the repository:
git clone https://github.com/michaelmassoni/yap.git cd yap -
Build and install:
go build -o yap main.go sudo mv yap /usr/local/bin/