Using Nix to manage my Python Interpreter

edit ✏️

I recently started playing with nix.

goals

Installing nix

curl -L https://nixos.org/nix/install | sh

controlling nix-env

nix-env -iA nixpkgs.python310
nix-env -iA nixpkgs.python39
nix-env -iA nixpkgs.python38
nix-env -iA nixpkgs.python37

searching for packages

https://search.nixos.org/

nix-env -qaP .\*python.\*
nix search nixpkgs python

shell

nix-shell -p python39