diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-01-10 23:20:02 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2021-01-10 23:29:14 +0100 |
commit | fdcd62eec59485665b919c048874de05235b5971 (patch) | |
tree | 426979f3aef57fa692299a4933fac7f5bc4c5ee4 /src/nix/store-gc.md | |
parent | e21aee58f6dd7785df50d5d2a473feb5f6b2ed4f (diff) |
Add 'nix store gc' command
Diffstat (limited to 'src/nix/store-gc.md')
-rw-r--r-- | src/nix/store-gc.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/nix/store-gc.md b/src/nix/store-gc.md new file mode 100644 index 000000000..956b3c872 --- /dev/null +++ b/src/nix/store-gc.md @@ -0,0 +1,21 @@ +R""( + +# Examples + +* Delete unreachable paths in the Nix store: + + ```console + # nix store gc + ``` + +* Delete up to 1 gigabyte of garbage: + + ```console + # nix store gc --max 1G + ``` + +# Description + +This command deletes unreachable paths in the Nix store. + +)"" |