Created
July 9, 2021 11:03
-
-
Save donfreiday/ec7c4947a419bee90ae50783fc033913 to your computer and use it in GitHub Desktop.
Shell script to install yay on Arch Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this script!