Package / system tool

yay — Arch family

yay is used for package management or system administration in the Arch family. Consult the distribution manual for release-specific behaviour.

Availability: Arch Linux; read package and AUR security guidance before installing software.中文

Syntax

yay [options] [targets]

Examples

yay is used for package management or system administration in the Arch family. Consult the distribution manual for release-specific behaviour.

yay -Ss <package>

Show command help and options where supported.

yay --help

Parameters, options and clauses

Option / clauseDescription
-S <target>Install or build a repository or AUR target.
-Ss <term>Search repository and AUR package metadata.
-R <target>Remove an installed target.
-SyuRefresh repositories and upgrade installed packages.
--helpShow options for the installed yay version.
Safety note

Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.

Official reference ↗Back to directory