nix CLI¶
Installation¶
We currently recommend using the Determinate Systems Nix distribution of Nix, as it's the easiest way to get started with Nix today.
Alternatively, you can also install nix from https://nixos.org/download. (Not recommended on Fedora Linux due to SELinux bug.)
This course only uses the "modern" Nix CLI, with commands like nix run (note the space before the sub-command),
rather than the "legacy" Nix CLI with commands like nix-env -i and nix-shell (note the dash style commands).
If you use nix from nixos.org instead of the Determinate, then you'll need to enable the "flakes" feature by running: