nix-super/src/nix/store-gc.md

22 lines
263 B
Markdown
Raw Normal View History

2021-01-11 00:20:02 +02:00
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.
)""