Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing sudo to binary install instructions #2525

Merged
merged 1 commit into from
Oct 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
Loading