ncdu is a disk usage analyzer with an ncurses interface. It is designed to find space hogs on a remote server where you don’t have an entire graphical setup available. Ncdu aims to be fast, simple and easy to use, and should be able to run in any minimal POSIX-like environment with ncurses installed.

Interactive usage

After connecting to Bessemer (see Establishing a SSH connection), start an interactive session with the srun --pty bash -i command.

The latest version of ncdu (currently version 1.15.1) is made available with the command:

$ module load ncdu/1.15.1-GCCcore-9.3.0

After this any of the ncdu commands can be run from the terminal prompt. The available commands can be obtained using:

$ ncdu --help

ncdu is an excellent tool for determining what files and folders are consuming your storage quota in the file storage areas. The example command below instructs ncdu to scan your home directory and will then show an interactive summary of storage usage by file and folder.

$ ncdu $HOME

Screenshots of the program in use can be found on the following page:

Installation notes

Installation method

ncdu version 1.15.1 was installed using Easybuild 4.4.0, build details can be found in /usr/local/packages/live/eb/ncdu/1.15.1-GCCcore-9.3.0/easybuild


Testing has been conducted by running an interactive session and scanning a directory with success.


The module file is on the system at /usr/local/modulefiles/live/eb/all/ncdu/1.15.1-GCCcore-9.3.0.