Last active
June 14, 2024 12:51
-
-
Save ogabriel/6ce2d1e6d3500e84518dc7c0d2db15ae to your computer and use it in GitHub Desktop.
Install yay on arch based distros
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.git | |
cd yay | |
makepkg -si | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment