mirror of
https://github.com/NixOS/nix
synced 2025-06-26 15:51:15 +02:00
1 KiB
1 KiB
Installation
This section describes how to install and configure Nix for first-time use.
The current recommended option on Linux and MacOS is multi-user.
Multi-user
This installation offers better sharing, improved isolation, and more security over a single user installation.
This option requires either:
- Linux running systemd, with SELinux disabled
- MacOS
Updating to macOS 15 Sequoia
If you recently updated to macOS 15 Sequoia and are getting
error: the user '_nixbld1' in the group 'nixbld' does not exist
when running Nix commands, refer to GitHub issue NixOS/nix#10892 for instructions to fix your installation without reinstalling.
$ curl -L https://nixos.org/nix/install | sh -s -- --daemon
Distributions
The Nix community maintains installers for several distributions.
They can be found in the nix-community/nix-installers
repository.