title: “Nix Reference” date: 2018-11-04T14:07:39-06:00 draft: false tags:
- reference
- favorites
Key Commands
Nix
-
nix-env -qaP python
- search remote packages to install -
nix-env -q
- list locally installed packages -
nix-env -i foo
- install foo -
nix-env -u
- update all packages -
nix-env -e foo
- uninstall foo -
nix-collect-garbage
- garbage collection