Created
June 14, 2024 12:51
-
-
Save ogabriel/a5d8b757a6c6a24314eba0fa93a199c9 to your computer and use it in GitHub Desktop.
Install yay on arch based distros (bin version)
This file contains 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
#!/usr/bin/env sh | |
if [ -z "$(command -v yay)" ]; then | |
echo "Installing yay..." | |
sudo pacman -S --needed --noconfirm git base-devel | |
cd /tmp | |
git clone https://aur.archlinux.org/yay-bin.git | |
cd yay-bin | |
makepkg -si | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment