Skip to content

Instantly share code, notes, and snippets.

@donfreiday
Created July 9, 2021 11:03
Show Gist options
  • Save donfreiday/ec7c4947a419bee90ae50783fc033913 to your computer and use it in GitHub Desktop.
Save donfreiday/ec7c4947a419bee90ae50783fc033913 to your computer and use it in GitHub Desktop.
Shell script to install yay on Arch Linux
#!/bin/bash
sudo pacman -Syu
mkdir /tmp/yay
cd /tmp/yay
curl -OJ 'https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=yay'
makepkg -si
cd
rm -rf /tmp/yay
yay --version
@ak1ra26
Copy link

ak1ra26 commented May 13, 2022

Thanks for this script!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment