Forrest logo
back to context overview

nix-store

List of commands for nix-store:

  • nix-store:tldr:098e3 nix-store: Delete a specific store path (must be unused).
    $ nix-store --delete ${-nix-store----}
    try on your machine
    explain this command
  • nix-store:tldr:0d198 nix-store: Hard-link identical files together to reduce space usage.
    $ nix-store --optimise
    try on your machine
    explain this command
  • nix-store:tldr:3aedb nix-store: Collect garbage, such as removing unused paths.
    $ nix-store --gc
    try on your machine
    explain this command
  • nix-store:tldr:7bbfe Calculate the total size of a certain store path with all the dependencies.
    $ du -cLsh $(nix-store --query --references ${-nix-store----})
    try on your machine
    explain this command
  • nix-store:tldr:a9220 nix-store: Show all dependents of a particular store path.
    $ nix-store --query --referrers ${-nix-store----}
    try on your machine
    explain this command
back to context overview