An Erlang host that boots the unkernel WebAssembly Linux kernel on erlang_wasm and exposes its console as an interactive terminal.
ErlangCreated
What is benoitc/unkernel_beam?
unkernel_beam is an Erlang project that boots unkernel—a real Linux kernel compiled to a single WebAssembly module with emulated aarch64 user programs—on top of erlang_wasm. While upstream unkernel uses a JavaScript host environment, this project replaces it with an Erlang host and connects the kernel console directly to a terminal.
Running the application executes the unkernel.wasm binary inside the erlang_wasm WebAssembly runtime on the BEAM virtual machine, exposing an interactive Linux kernel console through Erlang. As stated in the README, building and running it requires Erlang/OTP 29, rebar3 for Erlang project management, and npm to fetch the precompiled kernel module once.
Erlang and BEAM developers, WebAssembly runtime implementers, and systems programmers curious about booting a WebAssembly-compiled Linux kernel inside an Erlang host can install the prerequisites and try the terminal locally.
Before you startThe README says
Runs on
Erlang/OTP 29 with the erlang_wasm runtime; user programs run as aarch64 code inside the kernel
Needs
Erlang/OTP 29, rebar3 and npm; no C or WebAssembly toolchain. make unit (optional) takes a few minutes and 6 GB of memory
How you get it
make fetch downloads unkernel.wasm (13 MB) from npm, then make run
Not yet
Slow: a boot to the shell prompt takes tens of seconds. No display, input, sound, USB, Bluetooth or camera is attached
Facts from GitHub (updated Dec 1, 2026) and the project's README. License summaries are simplified: check the license file. RepoRanking reviews listings for relevance and spam, and doesn't test or vouch for code.
A real Linux kernel compiled to WebAssembly that boots to a shell in under a second, in the browser or from a command-line tool, with a JavaScript SDK for embedding a full Linux system in web apps.
Builds XNU, the open-source macOS kernel, from Apple's published sources and loads it as a kernel module inside unmodified arm64 Linux, so macOS userspace programs can run on Linux.