Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

616 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Artix Installer

Modular operating system deployment for Artix Linux
TUI • Installer • Migration • ISO Builder • Power User

This is the official branch for v10
Find a bug? Make an issue.

InstallationFeaturesContributingLicense

Version Stable Release Artix Galaxy-Gremlins Bash gum License


Installation

Artix Linux (via galaxy-gremlins)

sudo pacman -S artixforge
sudo artixforge

Alternative: Git Clone

For the latest development version or if the package is not yet available in your mirrors:

git clone --recursive https://github.com/realvolk/ArtixForge.git
cd ArtixForge
chmod +x install
sudo ./install

You'll be greeted by a main menu where you choose your installation mode.

Logs

Situation Log location
Installer failure /tmp/artix-installer/install.log
Debug mode enabled /tmp/artix-installer/logs/artix-debug.log
Post-install stage failure /tmp/artix-installer/logs/post-stage.log
Retried command failures /tmp/artix-installer/logs/retry.log
Migration failure /tmp/artix-migration-debug.log
Bug report tarball /tmp/artixforge-bugreport-*.tar.gz

Include these in any GitHub issue.


What is Artix Installer?

Artix Installer is a modular operating system deployment framework for Artix Linux. It handles partitioning, filesystem creation, base system installation, bootloader setup, desktop environment, drivers, and extra tools — all from a single interface.

  • Terminal UI built with gum — simple, fast, works in any TTY.
  • Custom colour themes (ArtixForge, Artix Blue, Jet Black, Mono, Retro) that persist to the installed system.
  • Resilience hardened: pacman lock recovery, exponential backoff retries, mid-build resume, disk space checks at every stage.
  • State file linting, preset inheritance, templating, and encrypted presets.
  • Build custom live ISOs with offline package bundles.
  • System Migration: convert init systems, desktop environments, or Arch Linux → Artix without reinstalling. Resumable on failure.
  • Per-user desktop environments and dotfiles repositories.
  • Post-install script injection and one-shot services.
  • Bug report generator on failure for easier issue reporting.
  • Advanced features gate — Recovery, Power User, Migration, and ISO require root password.
  • Over 9 trillion system configurations in a standard install, over 1 quintillion with Power User mode.
  • All framework code lives under bashisms/ — the repository root holds only the entry point, packaging, version metadata, documentation, and the framework tree.

Installation Modes

Mode Description
Installation Guided setup with full configuration flow
Resume Continue from last saved installation, migration, or ISO build stage
Recovery Auto-detect system config, smart issue detection, surgical repair, filesystem repair (safe/destructive), rootkit/malware scanning
Power User Source-based package compilation, BusyBox init, custom coreutils, advanced system control
Quick Profiles Base, Plasma, XFCE, Cinnamon, LXQt, Community GTK, Community Qt, Gaming, Server, Minimal
Build ISO Create custom Artix live ISO from any profile — offline bundles, resumable builds
System Migration Convert init system (openrc ↔ runit ↔ dinit ↔ s6 ↔ systemd), desktop environment, or Arch → Artix

A debug toggle is available for every mode.


Supported Configurations

Category Options
Init system OpenRC, runit, dinit, s6, BusyBox init
Filesystem ext4, btrfs, xfs, f2fs
Storage Standard partitions, LVM, LUKS, LVM-on-LUKS
Boot method UKI, GRUB, rEFInd, EFIStub, Limine
Kernel linux, zen, lts, hardened, libre, cachyos-*, bazzite, xanmod, tkg
Desktop KDE Plasma, XFCE, LXQt, LXDE, Hyprland, Sway, Niri, i3, dwm, vxwm, IceWM, MangoWM, Cinnamon, Budgie, Moksha, COSMIC, MATE, none
Network NetworkManager, dhcpcd+iwd, ConnMan, none
Audio PipeWire, PulseAudio, none
Shell bash, zsh, fish
Display stack X.Org, X.Org (tearfree)
Coreutils GNU, BusyBox, uutils, Artix Installer minimal, Custom
Privilege escalation sudo, doas
Encryption LUKS full-disk, LUKS-on-LVM
Theme ArtixForge, Artix, Jet Black, Mono, Retro

Features

Core Installer

  • Terminal UI built on gum
  • Sequential configuration menus with clear current values and sensible defaults
  • State file linting before pipeline — catches bad config before it bricks a system
  • State preset inheritance — one-level BASE_STATE with relative path resolution
  • State templating — ${KEY} references resolved with bash indirect expansion, no eval
  • Encrypted state presets — GPG AES256 with magic header, passphrase via fd 3
  • Per-user desktop environments and dotfiles repositories
  • Post-install script injection (POST_INSTALL_SCRIPT) with validation before pipeline
  • One-shot post-install services (POST_INSTALL_ONESHOT) — self-destructing per-init service files
  • Bug report generator — collects logs, state, stage markers, system info into tarball on failure
  • Advanced features gate — root password required for Recovery, Power User, Migration, ISO
  • Modular architecture — separate subsystems under bashisms/ for state, common utilities, TUI, installer, recovery, migrations, ISO, and power user
  • Universal logger — writes to /tmp/artix-installer/install.log and /mnt/var/log/artix-installer.log
  • Passwords hashed before storage — plaintext never touches disk
  • Quick install profiles with one-click setup — hardcoded presets, plus upstream iso-profiles profiles fetched from Artix's gitea wip branch
  • Network pre-configuration — WiFi, DHCP, or static IP before installation
  • Optional mirror ranking
  • Full-disk encryption (LUKS) with passphrase confirmation and keyfile support
  • LVM support with optional LUKS integration
  • Multiple boot methods — UKI, EFIStub, GRUB, rEFInd, Limine
  • Optional Secure Boot signing for UKI images
  • Privilege escalation choice — sudo or doas
  • Resilience features — disk space checks, pacman lock recovery, download retry with exponential backoff, mid-build resume
  • Offline mode with cached packages and offline ISO generation
  • State persistence for full resume/recovery
  • Collects nothing, removes itself after installation

ISO Generation

  • Build custom Artix live ISOs from any Quick Profile or full custom configuration
  • Extends upstream iso-profiles base profiles rather than generating its own
  • Live Desktop mode — full desktop with Artix Installer on the desktop
  • Installer mode — boots directly into Artix Installer TUI, minimal size
  • Offline ISO — bundle all packages; installation works without internet
  • Extra packages beyond profile selection
  • Build logs saved alongside ISO
  • Resumable on failure

System Migration

  • Init migration: openrc ↔ runit ↔ dinit ↔ s6 ↔ systemd without reinstalling
  • Automatic service mapping with hub-chaining through OpenRC
  • Custom service detection and backup
  • Explicit target selection — live ISO auto-mount, already-mounted, or custom mount point
  • Desktop migration: convert between all 17 supported DEs/WMs
  • Dynamic source package discovery — queries installed packages by DE pattern
  • Package removal via pacman -Rdd — no dependency cascade
  • User-visible orphan removal checklist
  • Selective backup — never copies .cache
  • ATA (Arch to Artix): full-system conversion preserving user data, credentials, configs, packages, and AUR packages
  • Converts systemd services, timers, PAM, hooks, network configs, and bootloader
  • Resumable on failure with stage tracking

Power User Mode

  • Source-based package compilation (Gentoo-style)
  • BusyBox init support
  • Swappable coreutils (GNU, BusyBox, uutils, Artix Installer minimal, custom recipes)
  • Hardware auto-detection with localmodconfig support
  • Manual kernel configuration
  • Compilation profiles (default, hardened, performance, safe)
  • Per-package feature flags with dependencies and conflict detection
  • Recipe system with community repository support
  • Offline source bootstrap
  • Build queue with resume, error recovery, and live log viewer
  • Post-build validation
  • anvil package manager (CLI + TUI) with recipe editor, offline bootstrap, and recipe self-healing
  • World file lifecycle — status, add, remove, build, stage, activate
  • Cross-compilation for ARM aarch64
  • Security audit — PIE, RELRO, stack protector checks
  • Garbage collection for unreachable artifacts

Dependencies

Everything is handled by the installer. gum and jq are installed automatically if missing.


Contributing

Contributions are welcome and appreciated.

Looking for: Testers • Contributors • Distro Packagers

Please read CONTRIBUTING for guidelines on testing, submissions, and code of conduct.


License

Licensed under the IRX License 1.0 © Volk 2026.

Releases

Packages

Contributors

Languages