Forrest logo
back to context overview

nix-collect-garbage

List of commands for nix-collect-garbage:

  • nix-collect-garbage:tldr:0bfbe nix-collect-garbage: Simulate the deletion of old store paths.
    $ sudo nix-collect-garbage --delete-old --dry-run
    try on your machine
    explain this command
  • nix-collect-garbage:tldr:16173 nix-collect-garbage: Delete all store paths older than 30 days.
    $ sudo nix-collect-garbage --delete-older-than 30d
    try on your machine
    explain this command
  • nix-collect-garbage:tldr:179e2 nix-collect-garbage: Delete all store paths unused by current generations of each profile.
    $ sudo nix-collect-garbage --delete-old
    try on your machine
    explain this command
back to context overview