lix/src/nix/store-gc.md
2021-01-10 23:29:14 +01:00

263 B

R""(

Examples

  • Delete unreachable paths in the Nix store:

    # nix store gc
    
  • Delete up to 1 gigabyte of garbage:

    # nix store gc --max 1G
    

Description

This command deletes unreachable paths in the Nix store.

)""