$ account archlinux
archinstall is a Python application and library for automated and interactive installation of Arch Linux. In production it runs as a root-level CLI/TUI wizard via the `archinstall` console script, guiding users through disk partitioning, LUKS/LVM encryption, BTRFS subvolumes, bootloader installation (systemd-boot, GRUB, limine), network configuration, user/sudo creation, mirror selection, pacman settings, and desktop/server profile installation. The same core is exposed as a reusable library, with entry points in `archinstall/scripts/guided.py`, `minimal.py`, and `only_hd.py`, and JSON configuration/credentials files enabling fully automated, headless installs. The installer orchestrates real system tools such as `parted`, `lsblk`, `pacman`, `systemd-nspawn`, `btrfs`, and `lvm`, and validates configuration with Pydantic and dataclass models.
Archiso is a toolkit for creating Arch Linux installation media, including ISO images, bootstrap tarballs, and netboot artifacts. It features a modular bash script (mkarchiso) that processes profile configurations to build customized live systems with support for BIOS and UEFI boot modes across multiple architectures. The system uses chroot/unshare for isolation during package installation and implements a plugin-like architecture for bootloader configuration. Key strengths include its robust privilege handling via user namespaces, idempotent build step tracking, and clean separation of concerns between validation, configuration, and image generation phases.