Examples (8)
Install the `base` package, the Linux kernel and firmware for common hardware
pacstrap path/to/new_root base linux linux-firmwareInstall the `base` package, the Linux LTS kernel and `base-devel` build tools
pacstrap path/to/new_root base base-devel linux-ltsInstall packages and copy the host's Pacman config to the target
pacstrap -P path/to/new_root packagesInstall packages without copying the host's mirrorlist to the target
pacstrap -M path/to/new_root packagesUse an alternate configuration file for Pacman
pacstrap -C path/to/pacman.conf path/to/new_root packagesInstall packages using the package cache on the host instead of on the target
pacstrap -c path/to/new_root packagesInitialize an empty `pacman` keyring in the target without copying it from the host
pacstrap -K path/to/new_root packagesInstall packages in interactive mode (prompts for confirmation)
pacstrap -i path/to/new_root packagesmade by @shridhargupta | data from tldr-pages