pacstrap(8)
===========

Name
----
pacstrap - install packages to the specified new root directory

Synopsis
--------
pacstrap [options] root [packages...]

Description
-----------
pacstrap is designed to create a new system installation from scratch. 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.

If no packages are specified to be installed, the 'base' metapackage will be
installed.

Options
-------

*-C* <config>::
	Use an alternate config file for pacman.

*-c*::
	Use the package cache on the host, rather than the target.

*-G*::
	Avoid copying the host's pacman keyring to the target.

*-i*::
	Prompt for package confirmation when needed (run interactively).

*-K*::
	Initialize an empty pacman keyring in the target (implies '-G').

*-M*::
	Avoid copying the host's mirrorlist to the target.

*-N*::
	Run in unshare mode. This will use linkman:unshare[1] to create a new
	mount and user namespace, allowing regular users to create new system
	installations.

*-U*::
	Use pacman -U to install packages. Useful for obtaining fine-grained
	control over the installed packages.

*-h*::
	Output syntax and command line options.

See Also
--------

linkman:pacman[8]

include::footer.asciidoc[]
