To install a list of packages with regex (see this forum thread): To install a single package or list of packages, including dependencies, issue the following command: See System maintenance#Partial upgrades are unsupported and BBS#89328. In practice, do not run pacman -Sy package_name instead of pacman -Sy u package_name, as this could lead to dependency issues.
Warning: When installing packages in Arch, avoid refreshing the package list without upgrading the system (for example, when a package is no longer found in the official repositories).