nh
Verified for current stable LTS
Nh Command: Clean Nix Store Garbage
Use for clean nix store garbage with Nh. Exact CLI syntax to clean nix store garbage using Nh.
When to use this: Use for clean nix store garbage with Nh.
Command Syntax
nh clean all -a nh clean all -a Command Breakdown
-a- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to clean nix store garbage using Nh.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Nh Command: Build And Switch Home Manager Flake
nh home switch <path/to/flake> Nh Command: Build And Switch Nix Darwin Flake nh darwin switch <path/to/flake> -H <host> Nh Command: Build And Switch Nixos Flake nh os switch <path/to/flake> Nh Command: Generate Shell Completions nh completions <shell> Nh Command: Search Nixpkgs Package nh search <name>