Developers seeking a lightweight way to run Linux tools on non-Linux hosts now have an alternative to Windows Subsystem for Linux.
Developers seeking a lightweight way to run Linux tools on non-Linux hosts now have an alternative to Windows Subsystem for Linux. NSL, introduced as a Show HN project, provides a subsystem for Linux that operates within atomic host environments.
The system enables users to install development toolchains on Debian, Fedora or other Linux distributions without modifying the host operating system. Each development environment functions as a systemd-nspawn container inside a shared virtual machine, preserving packages, services and files across sessions. Machines launch on demand and maintain access to host files.
Getting started involves installing nsl and creating a machine with a command such as nsl create debian --distro debian:13. Once created, users enter the machine via nsl to access a shell prompt in the default environment. Individual commands execute through nsl run, returning exit status to the host system.
Each machine provides a shell context where users work directly in their project directories. The host's home directory, removable media and mount points appear under /mnt/host within the container, preserving file ownership through matching user IDs. Passwordless sudo functionality operates inside the container environment.
Network access allows development servers running in the machine to accept connections on the host's localhost interface. Graphical applications leverage Waypipe to display windows on the host's desktop environment.
Seven Linux distributions are available through pre-built, cryptographically signed images updated weekly. These include Debian, Ubuntu, Fedora, CentOS Stream, Arch Linux, and openSUSE variants. The system validates image provenance through the Frostyard publishing workflow before deployment.
For untrusted software, users can launch isolated containers that operate in separate virtual machines without host file system or desktop access. The nsl tool executes under the host user's account and requires prerequisite host components but does not modify system packages or permissions.
The project remains in pre-release status, with version 0.4.0 representing the current design iteration. Earlier versions constitute a deprecated prototype. Testing occurs on Snow Linux 13 with systemd 261.2, QEMU 10.0.13, virtiofsd 1.13.2 and GNOME Wayland on x86-64 architecture.
Documentation includes guides for initial setup, architectural details, and command reference materials. The approach emphasizes minimal host interaction while maintaining development workflow continuity across container sessions.
- Publisher
- Hacker News
- Reliability
- high
- Published
- 9/30/2026, 6:21:21 PM
- Retrieved
- 9/30/2026, 6:21:21 PM
- Relevance
- 80%
- Confidence
- 85%

