Install Nix
Install the Nix package manager according to the official documentation on nixos.org.
On Linux, simply run:
Configuration
Add the following to ~/.config/nix/nix.conf
(recommended) or /etc/nix/nix.conf
:
nix-command
enables the newnix
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.