Home

Awesome

yay yay-bin yay-git AUR votes GitHub license

Yay

Yet Another Yogurt - An AUR Helper Written in Go

Help translate yay: Transifex

Features

asciicast

asciicast

Installation

If you are migrating from another AUR helper, you can simply install Yay with that helper.

⚠️ We are using sudo in these examples, you can switch that out for a different privilege escalation tool.

Source

The initial installation of Yay can be done by cloning the PKGBUILD and building with makepkg:

We make sure we have the base-devel package group installed.

sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

If you want to do all of this at once, we can chain the commands like so:

sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si

Binary

If you do not want to compile yay yourself you can use the builds generated by GitHub Actions.

sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
makepkg -si

If you want to do all of this at once, we can chain the commands like so:

sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay-bin.git && cd yay-bin && makepkg -si

Other distributions

If you're using Manjaro or another distribution that packages yay you can simply install yay using pacman (as root):

pacman -S --needed git base-devel yay

⚠️ distributions sometimes lag updating yay on their repositories.

First Use

Development packages upgrade

Examples of Custom Operations

CommandDescription
yayAlias to yay -Syu.
yay <Search Term>Present package-installation selection menu.
yay -Bi <dir>Install dependencies and build a local PKGBUILD.
yay -G <AUR Package>Download PKGBUILD from ABS or AUR. (yay v12.0+)
yay -Gp <AUR Package>Print to stdout PKGBUILD from ABS or AUR.
yay -PsPrint system statistics.
yay -Syu --develPerform system upgrade, but also check for development package updates.
yay -Syu --timeupdatePerform system upgrade and use PKGBUILD modification time (not version number) to determine update.
yay -Wu <AUR Package>Unvote for package (Requires setting AUR_USERNAME and AUR_PASSWORD environment variables) (yay v11.3+)
yay -Wv <AUR Package>Vote for package (Requires setting AUR_USERNAME and AUR_PASSWORD environment variables). (yay v11.3+)
yay -Y --combinedupgrade --saveMake combined upgrade the default mode.
yay -Y --gendbGenerate development package database used for devel update.
yay -YcClean unneeded dependencies.

Frequently Asked Questions

Support

All support related to Yay should be requested via GitHub issues. Since Yay is not officially supported by Arch Linux, support should not be sought out on the forums, AUR comments or other official channels.

A broken AUR package should be reported as a comment on the package's AUR page. A package may only be considered broken if it fails to build with makepkg.

Reports should be made using makepkg and include the full output as well as any other relevant information. Never make reports using Yay or any other external tools.

Images

<p float="left"> <img src="https://rawcdn.githack.com/Jguer/jguer.github.io/77647f396cb7156fd32e30970dbeaf6d6dc7f983/yay/yay.png" width="42%"/> <img src="https://rawcdn.githack.com/Jguer/jguer.github.io/77647f396cb7156fd32e30970dbeaf6d6dc7f983/yay/yay-s.png" width="42%"/> </p> <p float="left"> <img src="https://rawcdn.githack.com/Jguer/jguer.github.io/77647f396cb7156fd32e30970dbeaf6d6dc7f983/yay/yay-y.png" width="42%"/> <img src="https://rawcdn.githack.com/Jguer/jguer.github.io/77647f396cb7156fd32e30970dbeaf6d6dc7f983/yay/yay-ps.png" width="42%"/> </p>

Other AUR helpers/tools