Pārlūkot izejas kodu

Add missing sudo to binary install instructions (#2525)

Alice Jacka 6 mēneši atpakaļ
vecāks
revīzija
3003f1667c
1 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. 4 4
      README.md

+ 4 - 4
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