fzf-powered package picker for Arch Linux: search, preview and install from the official repos and the AUR in one list
  • Shell 95.7%
  • Makefile 4.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-06 10:46:18 +02:00
tests feat: add uninstall 2026-10-06 10:46:18 +02:00
Makefile Initial commit: pkgf fzf package picker for Arch repos + AUR 2026-10-05 23:38:37 +02:00
pkgf feat: add uninstall 2026-10-06 10:46:18 +02:00
README.md feat: add uninstall 2026-10-06 10:46:18 +02:00

arch-pkgfind

pkgf — an fzf-based package picker for Arch Linux repos and the AUR, inspired by Omarchy's omarchy-pkg-install, omarchy-pkg-aur-install and omarchy-pkg-remove.

Features

  • Repo and AUR packages in one list, switchable on the fly
  • Live preview of package info, or the PKGBUILD (alt-b)
  • Already-installed packages are marked; AUR entries are tagged
  • Deduplicates packages that appear in several repos (e.g. CachyOS -v3 repos vs extra), keeping the one pacman would actually install
  • No --noconfirm: you still get to review PKGBUILDs before AUR builds
  • Remove mode for explicitly installed packages (pacman -Rns), toggled with ctrl-r

Requirements

  • pacman, fzf (≥ 0.40), bash
  • paru or yay for AUR support (pkgf offers to install paru if neither is present)
  • bat (optional, syntax-highlighted PKGBUILD preview)

Install

make install        # copies to ~/.local/bin/pkgf
make link           # or symlink, for hacking on it
make PREFIX=/usr/local install   # system-wide (needs sudo)

Make sure ~/.local/bin is on your PATH (fish: fish_add_path ~/.local/bin).

Usage

pkgf        install (repos + AUR)
pkgf -p     install, repos only
pkgf -a     install, AUR only
pkgf -r     remove explicitly installed packages
Key Action
tab multi-select
enter install / remove selection
ctrl-r switch install / remove
ctrl-s/p/a show all / repos / AUR (install mode)
alt-b preview PKGBUILD
alt-i preview package info
alt-p toggle preview
alt-j / alt-k scroll preview
alt-d / alt-u scroll preview half page

Switching modes clears the search and selections. Switching back restores the starting install filter (all, repos, or AUR), not the last filter chosen with ctrl-s/p/a. Starting with pkgf -r returns to all, or repos only if no AUR helper is available. Enter still requires pacman's confirmation before removal.

Checks

make check
bash tests/toggle.sh   # mocked package commands; no packages installed or removed