.\" -*- mode: troff; coding: utf-8 -*- .TH "nix3-store-gc" "1" "" .PP \fBWarning\fR: This program is \fBexperimental\fR and its interface is subject to change. .SH Name \fCnix store gc\fR - perform garbage collection on a Nix store .SH Synopsis \fCnix store gc\fR [\fIoption\fR\[u2026]] .SH Examples .IP "\(bu" 2 Delete unreachable paths in the Nix store: .LP .EX # nix store gc .EE .IP "\(bu" 2 Delete up to 1 gigabyte of garbage: .LP .EX # nix store gc --max 1G .EE .SH Description This command deletes unreachable paths in the Nix store. .SH Options .IP "\(bu" 2 \fC--dry-run\fR .br Show what this command would do without doing it. .IP "\(bu" 2 \fC--max\fR \fIn\fR .br Stop after freeing \fIn\fR bytes of disk space.