StyxOS Documentation#
BuildPassingGetting Started#
Clone the Repository#
Clone the StyxOS repository to your local machine:
git clone https://github.com/styxos-org/styxos cd styxosCompile the Kernel#
Build the default StyxOS kernel by running:
just kernelThis configures the kernel source and outputs a
bzImagefile into thebuilddirectory.Compile the Core Components#
Navigate to the
coredirectory to build the essential system components. Note: This requires Zig v0.15.2 or newer.cd core just build cd ..You need at least
core/initsuccessfully compiled to get a bootable system.Build the System Image#
With the core components in place, pack everything into the Initial RAM disk (initramfs). Additional user-space tools are provided by BusyBox:
just initramfsBoot the System#
Start the final OS in your console using QEMU:
just runExperimental: You can also run the system using kvmtool, a lightweight, single-binary alternative that uses the kernel’s KVM features directly:
just runkvm