Install Nix on Windows 10

Enable Windows Subsystem for Linux and select the Ubuntu image. Once installed, update its packages:

sudo apt update
sudo apt upgrade

Create /etc/nix/nix.conf:

sandbox = false
use-sqlite-wal = false

Install Nix

curl | sh

Test Nix installation:

nix-shell -p busybox --run 'echo $PATH'

Subscribe to My Newsletter

The latest programming-related news, articles and resources - sent to your inbox monthly. Unsubscribe anytime.