grimaur is a lightweight AUR helper that searches, builds, and updates AUR packages. It uses the AUR RPC
API and automatically falls back to the official git mirror when the endpoint is unavailable.
Tip
When the AUR is down, run commands with --git-mirror
For example: grimaur <package> --git-mirror to bypass the RPC entirely, this ensures higher uptimes.
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/grimaur-git.git
cd grimaur-git
makepkg -sigit clone --branch grimaur-git --single-branch https://github.com/archlinux/aur.git grimaur-git
cd grimaur-git
makepkg -sigit clone https://github.com/ryk4rd/grimaur
cd grimaur
chmod +x grimaur
./grimaur <command>grimaur <term>(orgrimaur search <term>) lists matching packages and lets you pick one to install.- Regex "pattern-*"` automatically uses git mirror
- Pass
--git-mirrorwhen endpoint is down
grimaur listto see installed "foreign" packages recognized by pacman -Qm
Note
You can use grimaur fetch <package> to inspect PKGBUILD and source code before manually installing using makepkg or similar.
Even see it directly: python grimaur inspect brave-bin --target PKGBUILD Also accepts: SRCINFO
grimaur inspect <package> --fullShows full dependsgrimaur install <package>clones the repo, resolves dependencies, builds withmakepkg- Pass
--git-mirrorto skip AUR RPC - Pass
--use-sshuse SSH instead of HTTPS
- Pass
grimaur remove <package>to uninstall from pacman- Pass
--remove-cacheto delete cached files too
- Pass
grimaur install/fetch/inspect mypkg --repo-url <url>to use custom URL instead
-
grimaur updaterebuilds every installed “foreign” package that has a newer release.- Pass
--globalto update system first, then AUR packages - Pass
--global --system-onlyfor equivalent of-Syu - Pass
--global --index, only sync package db-Sy
- Pass
-
grimaur update <pkg1> <pkg2>limits the update run to specific packages. -
grimaur update --develUpdate all *-git packages aswell (needed for grimaur-git for example). -
Combine with
--refreshto force a fresh pull of every tracked package.
- Useful to build in
tmp/pass--dest-root- (default:~/.cache/aurgit) - For automating updates
grimaur update:- Pass
--global --download, download updates without installing-Syuw - Pass
--global --install, to be used with command above-Su
- Pass
- Useful for scripting on top of Grimaur
--no-colordisables colored terminal outputgrimaur search <term> --limit 10limits results to the first N matchesgrimaur search <term> --no-interactivelists results without prompting to install
- Force
grimaur fetch <package> --forcereclones even if the directory exists - Complete example:
python grimaur --use-ssh search "brave.*-bin" --no-interactive
- Respects
IgnorePkg = x y zfrom/etc/pacman.conf - Pass
--noconfirmto skip prompts (install, update, remove, and search)