Install & Build

Downloads

Every Monarch component is open source under GPL-3.0 and built on code.weexnes.dev/monarch . Download the latest CI-built ISO or Android APK directly, install AUR packages on Arch/Monarch hosts, or run the one-line daemon installer on any Linux distribution.

Monarch.linux

Arch + CachyOS generic x86-64

Live ISO with the browser-based LAN installer, linux-lts, libvirt/QEMU/KVM, systemd-networkd bridge virtbr0, LVM dm-cache SMART guard, and optional ClyoCloud provisioning.

Latest CI build #21 · d4fea50 · 2026-12-01 · 1.90 GiB

Verify checksum after download
curl -LO https://code.weexnes.dev/~downloads/projects/178/builds/21/artifacts/SHA256SUMS
sha256sum -c SHA256SUMS
Write ISO to USB (replace /dev/sdX)
sudo dd if=monarch-0.1.0-x86_64.iso of=/dev/sdX bs=4M oflag=direct status=progress conv=fsync
Or build live ISO from source on Arch/CachyOS
sudo pacman -S --needed archiso base-devel git nodejs npm dotnet-sdk librsvg ttf-dejavu jq
git clone https://code.weexnes.dev/monarch/linux.git && cd linux
./build.sh packages
sudo ./build.sh iso

Run sudo ./build.sh offline before sudo ./build.sh iso to bundle all target packages for installs without internet access. Bootable via USB or IPMI/iDRAC virtual media (legacy BIOS syslinux or UEFI systemd-boot).

Monarch.panel

Nuxt 4 · Nitro · SQLite · Port 4382

Central web control plane. Requires Node.js 22.13 or newer (built-in node:sqlite). Generates a self-signed ECDSA P-256 TLS certificate and one-time setup token on first start.

Arch Linux (AUR)
yay -S monarch-panel
sudo systemctl enable --now monarch-panel
Build & run from source (any Linux)
git clone https://code.weexnes.dev/monarch/panel.git && cd panel
npm install
npm run build
PORT=4382 ./start.sh

Use sudo ./install-service.sh from the repository to install the systemd unit. Set MONARCH_PANEL_DATA to move state from ~/.monarch-panel, or MONARCH_PANEL_TRUST_PROXY=1 + MONARCH_PANEL_NO_TLS=1 behind Caddy.

Monarch.daemon

.NET 10 · Outbound WSS

Root node agent for every managed Linux host. Opens one outbound WebSocket to /ws/daemon — no inbound ports or SSH keys needed.

Install via one-liner (needs git + .NET 10 SDK)
curl -fsSL "https://code.weexnes.dev/monarch/daemon/~files/master/install.sh?raw=true" | sudo bash
Arch Linux (AUR)
yay -S monarch-daemon
Enroll with token from Settings → Nodes → Add node
sudo monarch-daemon join https://panel.example:4382 ccj_... --fingerprint 76BEA1...

On the same host as Monarch.panel, enrollment happens automatically over loopback via local-join.json.

Monarch.android

Kotlin · Jetpack Compose · Android 8.0+

Mobile companion for monitoring nodes, live 3-minute CPU/memory charts, VM power actions, and 15-minute background alert polling without Google push services.

Latest CI build #1 · d6a0251 · 2026-12-01 · 12.0 MiB

Build debug APK from source (JDK 17+ & Android SDK 35)
git clone https://code.weexnes.dev/monarch/android.git && cd android
export ANDROID_HOME=/opt/android-sdk
./gradlew assembleDebug

Pair by scanning the QR code under Settings → Phone app in your panel and comparing the SHA-256 certificate fingerprint.

Full Development Workspace

All repos + Monarch.graph

Clones the top-level monarch.git workspace, all sub-repositories, and the Monarch.graph knowledge graph into the current directory.

Clone workspace (add -s -- --deps to install npm & .NET dependencies)
curl -fsSL "https://code.weexnes.dev/monarch/~files/main/setup.sh?raw=true" | bash