synix/docs/introduction-to-nix/install-nix.md
sid 95a533c876
All checks were successful
Deploy docs / build-and-deploy (push) Successful in 3s
initial commit
2026-02-23 20:34:35 +01:00

675 B

Install Nix

Install the Nix package manager according to the official documentation on nixos.org.

On Linux, simply run:

sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) --daemon

Configuration

Add the following to ~/.config/nix/nix.conf (recommended) or /etc/nix/nix.conf:

experimental-features = nix-command flakes
  • nix-command enables the new nix CLI Nix is transitioning to.
  • flakes will be covered later in this guide. Don't worry about them for now.

Reload your session to get access to the nix command.