pacstrap Command Examples

Arch Linux install script to install packages to the specified new root directory. More information: https://manned.org/pacstrap.8.

pacstrap {{path/to/new/root}} {{base}} {{linux}} {{linux-firmware}}

pacstrap {{path/to/new/root}} {{base}} {{base-devel}} {{linux-lts}}

pacstrap -M {{path/to/new/root}} {{packages}}

pacstrap -C {{path/to/pacman.conf}} {{path/to/new/root}} {{packages}}

pacstrap -c {{path/to/new/root}} {{packages}}

pacstrap -K {{path/to/new/root}} {{packages}}

pacstrap -i {{path/to/new/root}} {{packages}}

pacstrap -U {{path/to/new/root}} {{path/to/package1}} {{path/to/package2}}