A pacman wrapper and utility tool for simplicity and usability
Made in rust :)
Alternatively you could download it from here
paru -S rustup # Using an AUR helper is optional
git clone https://github.com/S0raWasTaken/pacw.git && cd pacw
cargo build --release
Alternatively you could place it on a random folder and update $PATH to include it
sudo mv target/release/pacw /usr/local/bin/pacw
sudo chmod +x /usr/local/bin/pacw
[] OPTIONAL, <> REQUIRED
pacw [install or i] <package> # -> same as "pacman -S"
pacw [upgrade or u] [package] # -> same as "pacman -Syu"
pacw [show or info] <package> # -> same as "pacman -Si"
pacw orphans # -> same as "pacman -Qqdt"
pacw [remove or r] <package> # -> same as "pacman -Rs"
pacw search <package> # -> same as "pacman -Ss"
Examples:
pacw remove @orphans [additional packages] # -> same as "pacman -Rs $(pacman -Qqdt)"
pacw install @optdeps <packages> # -> Will install packages with its optional dependencies
- Add support to doas (sudo alternative)
- Check package existence before calling the final command