Nix Reference

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