Search nix packages versions - and minimalist devshell and version manager built on nix - Flake generator for version pinned packages.
at main 37 lines 1.2 kB view raw view rendered
1--- 2order: 1 3--- 4 5# All you need is Nix 6 7Since you will be installing packages from the [nixpkgs repository](https://github.com/nixos/nixpkgs), 8the only requirement is to have the `nix` command on your system. 9 10If you are running on a [NixOS System](https://nixos.org/download/) you are all set. 11 12Otherwise you can install it on any Linux, MacOS, Windows-WSL2. We recommend either the [Lix](https://git.lix.systems/lix-project/lix-installer) or [Determinate](https://github.com/DeterminateSystems/nix-installer) nix installers. 13 14## Running `nix-versions` directly. 15 16Just run this command and skip all of this section. 17 18```shell 19nix run github:vic/nix-versions 20``` 21 22::: note Enabling Nix Flakes and the Modern Nix command. 23 If this is your first time using nix, it's possible that you might need to enable: 24 `--extra-experimental-features 'flakes nix-command'` 25 at the command line or [enable those features at your nix.conf file](https://www.tweag.io/blog/2020-05-25-flakes/#trying-out-flakes) 26 ::: 27 28## Installing on your system. 29 30If you want to avoid typing `nix run` everytime, you might consider 31installing `nix-versions` on your profile. 32 33```shell 34nix profile install github:vic/nix-versions 35nix-versions --help 36``` 37