Here are commands that will make you look like a hacker 8)
Requirements:
FZF
Xargs (it's in the package findutils)
Pacman (of course)
For installing:
pacman -Slq | fzf --multi --preview 'pacman -Si {1}' | xargs -ro sudo pacman -S"
For uninstalling:
pacman -Qq | fzf --multi --preview 'pacman -Qi {1}' | xargs -ro sudo pacman -R
For purging:
pacman -Qq | fzf --multi --preview 'pacman -Qi {1}' | xargs -ro sudo pacman -Rns
it is recommended to bind them to an alias
The result: