Ncdu

Last updated
NCurses Disk Usage
Developer Yoran Heling
Initial releaseFebruary 21, 2007;18 years ago (2007-02-21) [1]
Stable release
2.9.1 [2]   OOjs UI icon edit-ltr-progressive.svg / 21 August 2025;3 months ago (21 August 2025)
Repository
Written in C (version 1.x), Zig (version 2.x)
Operating system Linux, BSD, UNIX
Platform POSIX
Type Disk utility
License MIT License
Website dev.yorhel.nl/ncdu

ncdu (NCurses Disk Usage) is a disk utility for Unix systems. Its name refers to its similar purpose to the du utility, but ncdu uses a text-based user interface under the [n]curses programming library. [3] Users can navigate the list using the arrow keys and delete files that are taking up too much space by pressing the 'd' key. It provides a swift and efficient way to view directories that are taking up disk space, and was primarily meant for remote shells. It runs on UNIX-based systems, such as Linux, BSD, and POSIX. [4] Users can install ncdu by running a package manager command in their terminal emulator (i.e. for Debian-based systems, apt install ncdu). [5] Version 1.09 and later can export the file listing in JSON format.

ncdu was developed by Yoran Heling to learn C and to serve as a disk usage analyzer on remote systems over ssh. Version 2.0 of the program brought a full rewrite in the Zig programming language. [6]

References

  1. "Ncdu Release History". dev.yorhel.nl. Archived from the original on 2022-03-07. Retrieved 2022-03-07.
  2. "Ncdu 2.x Release History".
  3. "Heitorlessa.com". www.heitorlessa.com. Archived from the original on 3 March 2016.
  4. "NCurses Disk Usage". dev.yorhel.nl. Retrieved 2025-12-13.
  5. "Ncdu | ANS Documentation". www.ans.co.uk. Retrieved 2025-12-13.
  6. "Ncdu 2: Less hungry and more Ziggy". dev.yorhel.nl. Archived from the original on 2022-10-18. Retrieved 2022-10-29.