From d8a21b391e6d152728fcb232a6e9eab99bf192d7 Mon Sep 17 00:00:00 2001 From: ByteAnnyTA Date: Thu, 29 May 2025 03:12:07 +0200 Subject: [PATCH] yay: add cache cleaning command (#16532) Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> --- pages/linux/yay.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/linux/yay.md b/pages/linux/yay.md index f0e0f59a9c..907a02edb8 100644 --- a/pages/linux/yay.md +++ b/pages/linux/yay.md @@ -12,10 +12,6 @@ `yay` -- Synchronize and update only AUR packages: - -`yay -Sua` - - Install a new package from the repos and AUR and do not ask to confirm transactions: `yay -S {{package}} --noconfirm` @@ -32,6 +28,10 @@ `yay -Yc` +- Clean `pacman` and `yay` caches (old package versions kept for rollback and downgrade purposes): + +`yay -Scc` + - Show statistics for installed packages and system health: `yay -Ps`