Page cover

Installation

Complete guide to installing NØNOS development environment.


Step 1: Install Rust

Install rustup if you haven't already:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source ~/.cargo/env

Install the nightly toolchain:

rustup toolchain install nightly
rustup target add x86_64-unknown-uefi --toolchain nightly
rustup component add rust-src llvm-tools-preview --toolchain nightly

Step 2: Install Build Dependencies

Linux (Debian/Ubuntu)

sudo apt update
sudo apt install qemu-system-x86 ovmf build-essential

Linux (Fedora)

sudo dnf install qemu-system-x86 edk2-ovmf make gcc

Linux (Arch)

macOS

Windows (WSL2)

  1. Install WSL2 with Ubuntu:

  2. Inside Ubuntu WSL, follow the Linux instructions


Step 3: Clone the Repositories


Step 4: Verify Dependencies

This verifies:

  • Rust is installed

  • Nightly toolchain available

  • UEFI target added


Step 5: Build

The Makefile automatically generates a development signing key if dev_signing_key.bin doesn't exist.

Expected output:


Step 6: Run in QEMU

You should see the NØNOS boot sequence and desktop.


Troubleshooting

"Rust not installed"

"nightly toolchain not found"

QEMU fails to start

Verify OVMF is installed:

macOS build errors

Ensure Command Line Tools are installed:

Last updated

Was this helpful?