nix-store.3
Manipulate the Nix store. tldr-pages
On several platforms
Several platforms
Collect garbage, i.e. remove unused paths to reduce space usage
nix store gcIdentifyHard-link identical files together to reduce space usage
nix store optimiseIdentifyDelete a specific store path (must be unused)
nix store delete /nix/store/checksum-package-version.extIdentifyList a contents of the store path, on a remote store
nix store --store https://cache.nixos.org ls /nix/store/checksum-package-version.extIdentifyShow the differences in versions between two store paths, with their respective dependencies
nix store diff-closures /nix/store/checksum-package-version.ext /nix/store/checksum-package-version.extIdentify