This POSIX script downloads the latest Arch OS or official Arch Linux ISO and creates a bootable USB device on Linux.
curl -Ls https://raw.githubusercontent.com/murkl/arch-os-creator/refs/heads/main/creator.sh | bash
coreutils util-linux grep sed curl sudo ncurses
The default variables can be overwritten with export. The script checks whether the variables are already set at startup.
export DOWNLOAD_DIR="~/Downloads"
export ARCH_OS_RELEASES_API="https://api.github.com/repos/murkl/arch-os/releases/latest"
export ARCH_LINUX_ISO_MIRROR="https://mirrors.xtom.de/archlinux/iso/latest"
