arch-sync
·143 words·1 min

Table of Contents
Introduction #
I recently released the arch-sync repository. From the README:
This is a template repository for syncing packages and configurations across multiple Arch Linux installations. It includes a script to automate the installation and removal of packages and the synchronization of configuration files.
Motivation #
The motivation is simple – to maintain a consistent setup across systems with minimal effort and simplify the overall management of the installations.
With this script, and the following workflow, I can maintain Arch Linux systems with a few simple commands:
$ yay # this runs yay -Syu by default
$ ./arch-sync.sh # the arch-sync script referenced above
$ yay -Sc # clears the pacman cache and locally cached files from the AUR
$ yay -Yc # removes unneeded dependencies
Regardless of how recently a system has been updated, the above commands ensure that all machines are in sync.