SSD

ncdu-zig – terminal-based disk usage analyzer

ncdu-zig is a maintenance fork of ncdu, the established terminal-based disk usage analyzer. The project continues development of the Zig implementation originally created by Yoran Heling, preserving the familiar interface while maintaining compatibility with newer development tools.

The application is designed for examining filesystem usage on machines where a graphical desktop may be unavailable or unnecessary. Its text-based interface is particularly useful for administrators investigating storage problems over SSH.

Users can navigate directory hierarchies, compare storage requirements, and identify files or directories that may be suitable for removal. The program also supports saving scan results for analysis at another time or on another computer.

This is free and open source software.

Key Features

  • Interactive ncurses interface for exploring files and directories according to their storage consumption.
  • Displays allocated disk usage or apparent file sizes, with the ability to switch between measurements.
  • Sort entries by size, name, item count, and other available filesystem attributes.
  • Multi-threaded filesystem scanning to accelerate analysis of large directory hierarchies.
  • Export directory information in JSON or binary formats for subsequent inspection.
  • Binary export supports efficient browsing of large saved scans without loading the entire hierarchy into memory.
  • Optional compression of exported scan information.
  • Customizable scanning behaviour, including filesystem boundary restrictions and exclusion rules.
  • Display or hide selected files and excluded entries.
  • Interactive deletion of files and directories with optional confirmation prompts.
  • Refresh directory information after changes to the filesystem.
  • Configurable colour schemes and display preferences.
  • Progress reporting during filesystem scans and data imports.
  • Cross-platform support – runs on Linux and macOS.

Website: github.com/BratishkaErik/ncdu
Support:
Developer: Eric Joldasov (maintenance fork); originally Yoran Heling
License: MIT License

ncdu-zig is written in Zig. Learn Zig with our recommended free tutorials.


Related Software

du alternativesProgramming LanguageLicense
dustRustApache License 2.0
dufGoMIT License
DucCGNU Lesser General Public License v3
NcduCGNU GPL v2.0 License
gduGo MIT License
cullGoMIT License
duaRustMIT License
erdtreeRustMIT License
pduRustApache License 2.0
vizexPythonMIT License
goduGo MIT License
dutreeRustGNU General Public License v3
spaceRustMIT License
daryaRustGNU General Public License v3.0
diskusRustMIT License or Apache License 2.0
NoxDirGoMIT License
mcduRustMIT License
dirstat-rsRustMIT License
diskonautRustMIT License
bonsaiC++GNU General Public License v3.0
diskardRustMIT License or Apache License 2.0
cduPerlGNU General Public License v2.0
tduGoGNU General Public License v2
duvizPythonMIT License
dutCGNU General Public License v3.0
whalespotterRustMIT License
snRustBSD 3-Clause “New” or “Revised” License

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted