This is a small wrapper for XBPS with tab-completion. It provides a simple interface inspired by FreeBSD's pkg(8).
curl -o /usr/local/bin/pkg https://raw.githubusercontent.com/lukrop/xbps-pkg/master/pkg
chmod +x /usr/local/bin/pkg
Install package somepackage
pkg install somepackage
Remove somepackage
pkg remove anotherpkg
Upgrade all packages
pkg upgrade
Find package to which /some/file belongs
pkg which /some/file
Hold somepackage at current version
pkg hold somepackage
See pkg help
for more.