@hackage nix-tree0.1.0.0

Interactively browse a Nix store paths dependencies

nix-tree

Interactively browse the dependency graph of your Nix derivations.

asciicast

Installation

nix-env -iA nix-tree -f https://github.com/utdemir/nix-tree/archive/master.tar.gz

A nixpkgs overlay is also provided via overlay.nix, that can be used with tools like home-manager:

nixpkgs.overlays = [
  (let url = https://github.com/utdemir/nix-tree/archive/master.tar.gz;
    in import "${builtins.fetchTarball url}/overlay.nix" {})
];

home.packages = [ pkgs.nix-tree ];

Usage

$ nix-tree --help
nix-tree --help
Usage: nix-tree [paths] [-h|--help]
  Paths default to $HOME/.nix-profile and /var/run/current-system.
Keybindings:
  hjkl/Arrow Keys : Navigate
  q/Esc:          : Quit / close modal
  w               : Open why-depends mode
  i               : Toggle modeline
  ?               : Show help

Related tools