All you need is Nix
April 13, 2025Less than 1 minute
All you need is Nix
Since you will be installing packages from the nixpkgs repository, the only requirement is to have the nix
command on your system.
If you are running on a NixOS System you are all set.
Otherwise you can install it on any Linux, MacOS, Windows-WSL2. We recommend either the Lix or Determinate nix installers.
Running nix-versions
directly.
Just run this command and skip all of this section.
nix run github:vic/nix-versions
Enabling Nix Flakes and the Modern Nix command.
If this is your first time using nix, it's possible that you might need to enable: --extra-experimental-features 'flakes nix-command'
at the command line or enable those features at your nix.conf file
Installing on your system.
If you want to avoid typing nix run
everytime, you might consider installing nix-versions
on your profile.
nix profile install github:vic/nix-versions
nix-versions --help