Upgrade ArchΒΆ

Checking vulnerable pacakges:

arch-audit

[Optional] Clean the cache:

sudo pacman -Sc

Upgrade arch i.e. sync the packages from the repositories and update them:

sudo pacman -Syu

Optionally, re-compile packages that were updated e.g. xmonad

xmonad --recompile