pacman-sync
Synchronize packages from remote repositories. tldr-pages
On Linux
Linux
Install a new package
sudo pacman -S packageIdentifySynchronize and refresh (y) the package database along with a sysupgrade (add --downloadonly to only download the packages and not update them)
sudo pacman -SyuIdentifyUpdate and upgrade all packages and install a new one without prompting
sudo pacman -Syu --noconfirm packageIdentifysearch the package database for a regex or keyword
pacman -Ss "search_pattern"IdentifyDisplay information about a package
pacman -Si packageIdentifyOverwrite conflicting files during a package update
sudo pacman -Syu --overwrite path/to/fileIdentifyRemove not installed packages and unused repositories from the cache (use the flags Scc to clean all packages)
sudo pacman -ScIdentifySpecify the package version that should be installed
sudo pacman -S package=versionIdentify