Forrest logo
back to the pacman tool

pacman-query:tldr:32cf2

pacman-query: List installed packages and versions.
$ pacman --query
try on your machine

The command "pacman --query" is a command used in Arch Linux to search for installed packages in the system using Pacman, the package manager for Arch Linux.

When you run this command, Pacman will scan through the list of installed packages on your system and display information about each package. This information includes the package name, version, architecture, and description.

It is a useful command when you need to find specific information about installed packages or want to check if a particular package is installed on your system. For example, you can use this command to see if a specific application or library is already installed, or to review the versions of packages currently on your system.

The output of the command will provide a comprehensive list of installed packages along with the details mentioned above, allowing you to manage and maintain your packages effectively.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the pacman tool