pacman-q
short form of pacman --query, which queries the local package database
TLDR
This command is an alias of pacman --queryView documentation for the original command
$ tldr pacman query
SYNOPSIS
pacman -Q [options] [package(s)]
DESCRIPTION
pacman -Q is the short form of pacman --query, which queries the local package database. It allows listing installed packages, checking package information, and querying files owned by packages.
INSTALL
sudo apt install pacman-package-manager
sudo dnf install pacman
sudo pacman -S pacman
sudo apk add pacman
nix profile install nixpkgs#pacman
SEE ALSO
pacman(8), pacman-query(8)