PACSTRAP(8)
π
PACSTRAP (8) β the pacstrap glow-up guide β¨
okay bestie, so this is the manual page for pacstrap, section 8 of the manual. like, yes, it's a real manpage, but make it make sense π«Ά
β¨ NAME β¨
pacstrap β install packages to the specified new root directory π
πΈ SYNOPSIS πΈ
pacstrap [options] root [packages...]
π¦ DESCRIPTION π¦
pacstrap is literally designed to create a new system installation from scratch. no cap. π
the specified packages will be installed into a given directory after setting up some basic mountpoints. by default, the host system's pacman signing keys and mirrorlist will be used to seed the chroot β so your new baby system gets the same trust setup as your host, iconic behavior honestly π
if no packages are specified to be installed, the base metapackage will be installed. that's the default, that's the vibe, periodt.
π OPTIONS π
-C <config>β use an alternate config file forpacman. like, a different config. yes you can. go off π-cβ use the package cache on the host, rather than the target. host cache stays host cache, no copying shenanigans π-Dβ skippacmandependency checks. bold move, bestie, but ok π-Gβ avoid copying the host'spacmankeyring to the target. no keyring hand-me-downs today β¨-iβ prompt for package confirmation when needed (run interactively). it will literally ask you. yap to it π£οΈ-Kβ initialize an emptypacmankeyring in the target (implies-G). fresh start, empty keyring, main character energy π-Mβ avoid copying the host's mirrorlist to the target. your mirrors, your rules πͺ-Nβ run in unshare mode. this will useunshare(1)to create a new mount and user namespace, allowing regular users to create new system installations. regular users!! no root required for the whole thing, slay π-Pβ copy the host'spacmanconfig to the target. config twins π―-Uβ usepacman -Uto install packages. useful for obtaining fine-grained control over the installed packages. precision queen behavior π―-hβ output syntax and command line options. when in doubt, ask it for help π«Ά
lowkey reminder: those are all the flags. every single one. i checked bestie, no gatekeeping here π
π₯ SEE ALSO π₯
pacman(8) β the other half of the duo, go read it too iykyk π
πΈ that's the whole page, no crumbs left. this one's from the pacstrap source, version 8, dated 10/11/2026 β so if you're reading this way later, hi from the past, hope your chroot booted on the first try πππ¦
π¦ where this page comes from
- arch rolling: arch-install-scripts 32-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms