I’ve heard some promising news in the world of Nix:
- The Nix package manager can now be installed on macOS Catalina.
- The Windows 10 May Update (v2004) now contains WSL2, which can run Nix without problem.
I’m looking for people who have the above operating systems and have had struggles with our installation procedure and are eager to try again. If this is you, here’s how to test:
Catalina users
Follow the installation procedure, but instead of typing the command curl https://nixos.org/nix/install | sh
type this command:
sh <(curl https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume
This installs Nix with the Catalina workaround that the Nix developers have created. Then follow along with the rest of the installation instructions.
Windows 10 users
Before you start the installation procedure:
- Make sure that you’re updated to the May 2020 Update. Go to System → About, and look at the version number; it should be 2004. If it isn’t, go to Settings → Update & Security → Windows Update. Install the ‘Feature update to Windows 10, version 2004’.
- Install Ubuntu from the Windows Store.
After that, you can follow the installation procedure for macOS and Linux.
Let us know how it went!
Once you’ve done this, come back to this thread and let me know if it went smoothly. I’m eager to simplify the installation instructions so new devs can get started more quickly.
Are you on Windows 7?
If you’re on an older version of Windows, do you think it would be a good or a bad idea for the installation instructions to recommend using Linux via a virtual machine? I know it’s not the ideal situation, but it might make for a more successful first-time dev experience while Windows support is still lagging behind macOS and Linux.