From 0917ea90789d691909cec2497e1e2b9ee6601570 Mon Sep 17 00:00:00 2001 From: Alice Jacka Date: Thu, 24 Oct 2024 09:27:49 +1100 Subject: [PATCH] Add missing sudo to binary install instructions --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 79808a11..4f25fd49 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,8 @@ Yet Another Yogurt - An AUR Helper Written in Go 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 @@ -52,13 +54,11 @@ sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/ya ### Binary -⚠️ We are using `sudo` in this example you can switch that out for a different privilage escalation tool. - If you do not want to compile yay yourself you can use the builds generated by GitHub Actions. ```sh -pacman -S --needed git base-devel +sudo pacman -S --needed git base-devel git clone https://aur.archlinux.org/yay-bin.git cd yay-bin makepkg -si @@ -67,7 +67,7 @@ makepkg -si If you want to do all of this at once, we can chain the commands like so: ```sh -pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay-bin.git && cd yay-bin && makepkg -si +sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay-bin.git && cd yay-bin && makepkg -si ``` ### Other distributions