-Sy means check for new updates (like: apt-get update)
-Syy allways force check update
-Su means install new updates (like: apt-get upgrade)
-Syu (like: apt-get update && apt-get upgrade)
-Ss is seach (like: apt-cache search) it laso supports regx: pacman -Ss ^emacs
-Ssq same as above but do not print descritions
-R remove apps (uninstall)
-Rs remove app with it’s dependencies
-Rn remove app with it’s system config files (not . files in ~)
-Q lists all installed packages
-Qs search local repo (installed apps): pacamn -Qs emacs
-Qq emits printing version numbers
-Qn programs installed from main repo
-Qm programs install from AUR
-Qdt lists garbage apps (unneeded dependencies)
note: to remove all these garbage: pacman -Qdtq | pacman -Rsn -
-Sc removes cached packages
location of config file: /etc/pacman.conf
for example: uncomment Color
mirrors: /etc/pacman.d/mirrorlist