Files
scripts/chaotic-aur

Chaotic-AUR

Files

chaotic.sh

Automated installer/enabler for the Chaotic-AUR repository on Arch Linux. Idempotent — if Chaotic-AUR is already configured in pacman.conf, it skips setup and runs an update instead.

What it does:

  1. Checks if Chaotic-AUR is already enabled; if so, updates chaotic-keyring and exits
  2. Downloads the mirrorlist to /etc/pacman.d/chaotic-mirrorlist
  3. Runs pacman -Syu to ensure the system is up to date
  4. Receives and signs the Chaotic-AUR GPG key
  5. Installs chaotic-keyring and chaotic-mirrorlist packages
  6. Appends the [chaotic-aur] section to /etc/pacman.conf
  7. Refreshes the pacman database