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.
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
python grimaur <command>grimaur <term>(orgrimaur search <term>) lists matching packages and lets you pick one to install.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
--noconfirmto skip confirmation prompts during the build/install steps. - Pass
--git-mirrorto skip AUR RPC
- Pass
grimaur remove <package>to uninstall from pacman- Pass
--remove-cacheto delete cached files too
- Pass
grimaur updaterebuilds every installed “foreign” package that has a newer release.- Pass
--globalto update system first, then AUR packages
- 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. - Respects
IgnorePkg = x y zfrom/etc/pacman.conf
- 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 - Regex matcher example:
python grimaur search "brave.*-bin" --regex --no-interactive