Navigation
Navigation
Install through your default package manager through terminal:
Fedora: sudo dnf install ncdu Debian/Ubuntu: sudo apt install ncdu Arch/Cachy: sudo pacman -S ncdu
Running ncdu will run with your current working directory as the top level. You can run against specific directories though.
ncdu ~ - Home directoryncdu / - root of OS partition| Up / Down or j / k | Move up and down the list |
| Enter | Open the selected directory |
| Left arrow or h | Go back to the parent directory |
| d | Delete the selected file or directory |
| n | Sort by name |
| s | Sort by size |
| i | Show item info (permissions, exact size, inode) |
| q | Quit the program |