https://github.com/tracsion/archsync
Save and restore all your Arch Linux packages (repo + AUR) with a single command.
https://github.com/tracsion/archsync
arch-linux aur backup package-management pacman restore rust snapshot system-setup
Last synced: 9 months ago
JSON representation
Save and restore all your Arch Linux packages (repo + AUR) with a single command.
- Host: GitHub
- URL: https://github.com/tracsion/archsync
- Owner: tracsion
- License: mit
- Created: 2025-07-15T19:10:22.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-07-15T19:25:55.000Z (11 months ago)
- Last Synced: 2025-08-31T06:13:21.006Z (9 months ago)
- Topics: arch-linux, aur, backup, package-management, pacman, restore, rust, snapshot, system-setup
- Language: Rust
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
archsync
---------
archsync is a simple, fast CLI tool written in Rust for Arch Linux.
It lets you SAVE and RESTORE all your installed packages, including
official repo packages (via pacman) and AUR packages (via yay or paru).
This makes it easy to quickly replicate your Arch setup on a fresh install.
------------------------------------------
Features
------------------------------------------
- Saves all explicitly installed packages into a clean TOML file
- Separates official repo packages vs AUR packages
- Automatically restores your entire package list
- Colorful, user-friendly output
- Small and fast (written in Rust)
------------------------------------------
Usage
------------------------------------------
Save your current packages:
archsync save
This creates a file called 'archpkglist.toml' listing all your packages.
Restore on a new system:
archsync restore
This reads 'archpkglist.toml' and reinstalls everything using pacman for
repo packages and yay (or paru) for AUR packages.
------------------------------------------
Get the ready-to-use binary
------------------------------------------
You can also download a precompiled version from the GitHub Releases page:
https://github.com/tracsion/archsync/releases
Then just make it executable and move it to your path:
chmod +x archsync
sudo mv archsync /usr/local/bin/
------------------------------------------
Build it yourself
------------------------------------------
If you prefer to compile from source, you need Rust installed. Then run:
git clone https://github.com/tracsion/archsync.git
cd archsync
cargo build --release
Copy the binary to your system path:
sudo cp target/release/archsync /usr/local/bin/
------------------------------------------
Dependencies
------------------------------------------
- Arch Linux
- pacman (standard on Arch)
- yay or paru for AUR support
If you don’t have yay:
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
OR you can just install paru hehe:)
------------------------------------------
License
------------------------------------------
MIT License. See LICENSE file for details.
------------------------------------------
Enjoy your fast Arch package snapshot & restore tool!