Wiki > NCurses Disk Usage
ncdu (NCurses Disk Usage) is a curses-based version of the well-known 'du', and provides a fast way to see what directories are using your disk space.
It's aimed to be run on a remote server where you don't have an entire graphical setup, but have to do with a simple SSH connection. 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.
Download the latest source tarball
Extract the source tarball
tar xvzf ncdu-1.16.tar.gz
Enter the source directory
Configure the installation
Begin compiling the application. This step may take some time.
Install the application
(Optional) Remove the source code:
cd .. rm -r ncdu-1.*
Add the bin directory to your PATH (if you've done this previously, you do not need to do it again)
echo "PATH=\$HOME/bin:\$PATH" >> ~/.bashrc && source ~/.bashrc
Start the application
To scan and browse the directory you're currently in:
To scan and browse a specific directory:
For more usage examples and documentation check out: ncdu's documentation
To update NCurses Disk Usage, follow the installation steps again using the latest version.