Mount runtime drivers
Mount WasmVM first (provides shell + 90 coreutils), then Node (overrides the
node stub).Mount order matters. The last-mounted driver wins when two drivers register the same command. Mount WasmVM first so its
node stub gets overridden by the real Node driver.Run shell commands
kernel.exec() runs a command through the WasmVM shell and returns stdout, stderr, and the exit code.Run Node code through the kernel
Since the Node driver is mounted, Node’s
node commands route to a real V8 isolate:child_process routes back through the kernel. This means Node code can call shell commands via WasmVM:Spawn processes with streaming I/O
kernel.spawn() gives you a ManagedProcess handle with real-time stdin/stdout/stderr:Use the shared VFS
All runtimes share the same kernel VFS. Writes from one are immediately visible to others:
Full example
Next steps
Kernel API
Full type reference for all kernel exports.
Cross-Runtime
Pipes, VFS sharing, and npm scripts across runtimes.
Custom Runtimes
Write your own RuntimeDriver.