How to install NCDU on CentOS

1. What is ncdu?

ncdu (NCurses Disk Usage) is an ncurses-based disk usage tool. It provides a disk usage summary in a TUI (text user interface), and also allows you to navigate between directories.

2. How to install ncdu

In order to install ncdu, you will first need to enable the EPEL repo. Once the EPEL repo is installed, ncdu can be installed with following command:

yum install ncdu

3. How to use ncdu

To use ncdu, enter the following command:


Sample output:

CentOS Linux ncdu

  • Navigatation: use the arrow keys and return to enter a directory.
  • Sort by name: n
  • Sort by size: s
  • Toggle between graph/percent: g
Was this answer helpful? 843 Users Found This Useful (0 Votes)