Table of Contents

NCDU: CLI Drive Space Visualizer

Install

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

How to Use

Running ncdu will run with your current working directory as the top level. You can run against specific directories though.

Up / Down or j / kMove up and down the list
EnterOpen the selected directory
Left arrow or hGo back to the parent directory
dDelete the selected file or directory
nSort by name
sSort by size
iShow item info (permissions, exact size, inode)
qQuit the program