Archinstall can be compiled into a standalone executable. For Arch Linux based systems, there’s a package for this called archinstall.
This is not required if you’re running archinstall on a pre-built ISO. The installation is only required if you’re creating your own scripted installations.
Once you’ve obtained the PKGBUILD, building it is pretty straight forward.
Which should produce a archinstall-X.x.z-1.pkg.tar.zst that can be installed using:
sudo pacman -U archinstall-X.x.z-1.pkg.tar.zst
For a complete guide on the build process, please consult the PKGBUILD on ArchWiki.
You can compile the source manually without using a custom mirror or the PKGBUILD that is shipped. Simply clone or download the source, and while standing in the cloned folder ./archinstall, execute:
nuitka3 --standalone --show-progress archinstall
This requires the nuitka package as well as python3 to be installed locally.