ncdu

Disk usage analyzer with an ncurses interface. More information: <https://manned.org/ncdu>.

Install

All systems
curl cmd.cat/ncdu.sh
Debian Debian
apt-get install ncdu
Ubuntu
apt-get install ncdu
Alpine
apk add ncdu
Arch Arch Linux
pacman -S ncdu
image/svg+xml Kali Linux
apt-get install ncdu
Fedora
dnf install ncdu
Windows (WSL2)
sudo apt-get update sudo apt-get install ncdu
OS X
brew install ncdu
Raspbian
apt-get install ncdu
Docker
docker run cmd.cat/ncdu ncdu powered by Commando

Disk usage analyzer with an ncurses interface. More information: <https://manned.org/ncdu>.

  • Analyze the current working directory:
    ncdu
  • Colorize output:
    ncdu --color dark|off
  • Analyze a given directory:
    ncdu path/to/directory
  • Save results to a file:
    ncdu -o path/to/file
  • Exclude files that match a pattern, argument can be given multiple times to add more patterns:
    ncdu --exclude '*.txt'

© tl;dr; authors and contributors