archupdate
One command to fully update and clean up an Arch Linux system (pacman, AUR, Flatpak), as a fish function.
What it does
upd is a fish function that runs the whole maintenance routine of an Arch Linux machine in one go:
- updates the official packages with
pacman -Syu; - updates AUR packages with yay or paru, whichever is installed;
- updates Flatpak apps and removes unused runtimes;
- removes orphaned packages;
- cleans the package cache.
Installation
Save upd.fish in ~/.config/fish/functions/, then open a new terminal. The file name is the command:
~ $ upd
update official packages
[sudo] password for you: