Page cover

Setting up your Environment

Complete environment setup for NØNOS development.


Rust Toolchain

Install Rust

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

Install Nightly Toolchain

rustup toolchain install nightly

Add Required Components

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

Platform Setup

Linux (Debian/Ubuntu)

sudo apt update
sudo apt install -y \
    qemu-system-x86 \
    ovmf \
    build-essential \
    git

Linux (Arch)

Linux (Fedora)

macOS

Windows (WSL2)

Enable WSL2:

Inside Ubuntu WSL, follow Linux instructions


Verify Installation


Verify NØNOS Build Dependencies

This verifies:

  • Rust is installed

  • Nightly toolchain available

  • UEFI target installed


IDE Setup

VS Code

Recommended extensions:

  • rust-analyzer

  • CodeLLDB (for debugging)

  • Even Better TOML

CLion / RustRover

  • Enable Rust plugin

  • Set toolchain to nightly


Last updated

Was this helpful?