Ncdu – NCurses Disk Usage

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • dua-cli

    View disk space usage and delete unwanted data, fast.

    If you like ncdu, you might also like dua[0]. You can run `dua i` to get an interface similar to ncdu, and can also run `dua` to list file sizes in the current directory, similar to `du`. Or `dua filename` to get the size of a given file.

    [0] https://github.com/Byron/dua-cli

  • btdu

    sampling disk usage profiler for btrfs

    If you use a Btrfs filesystem with snapshots, I can recommend Btdu as an alternative. Advantage: Can handle duplicate files (snapshots), which however only occupy 1x disk space.

    https://github.com/CyberShadow/btdu

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • dust

    A more intuitive version of du in rust

  • windirstat

    WinDirStat is a disk usage statistics viewer and cleanup tool for various versions of Microsoft Windows.

  • diskonaut

    Terminal disk space navigator 🔭

    Have been using ncdu for more than a decade, and recently started using diskonaut for similar purposes. Was looking for a terminal-based treemap visualization for analyzing disk usage and stumbled upon diskonaut, which is exactly that.

    https://github.com/imsnif/diskonaut

  • gdu

    Fast disk usage analyzer with console interface written in Go

    While ncdu does the job I've found gdu (similar tool written in Go) significantly faster for larger directories.

    https://github.com/dundee/gdu

  • growlight

    notcurses block device manager / system installation tool

    growlight may be of interest as well:

    https://github.com/dankamongmen/growlight#readme

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • modern-unix

    A collection of modern/faster/saner alternatives to common unix commands.

  • nixos

    Zellij instead of tmux (not necessarily better, but it's easier to use)

    Xonsh instead of bash (because you already know Python, why learn a new horrible language?)

    bat instead of cat (syntax highlights and other nice things)

    exa instead of ls (just nicer)

    neovim instead of vim (just better)

    helix instead of neovim (just tested it, seems promising though)

    nix instead of your normal package manager (it works on Mac, and essentially every Linux dist. And it's got superpowers with devshells and home-manager to bring your configuration with you everywhere)

    rmtrash instead of rm (because you haven't configured btrfs snapshots yet)

    starship instead of your current prompt (is fast and displays a lot of useful information in a compact way, very customizable)

    mcfly instead of your current ctrl+r (search history in a nice ncurses tui)

    dogdns instead of dig (nicer colors, doesn't display useless information)

    amp, kakoune (more alternative text editors)

    ripgrep instead of grep (it's just better yo)

    htop instead of top (displays stuff nicer)

    gitui/lazygit instead of git cli (at least for staging, nice with file, hunk and line staging when you have ADHD)

    gron + ripgrep instead of jq when searching through JSON in the shell (so much easier)

    keychain instead of ssh-agent (better cli imo)

    Wrote this on the train with my phone by checking https://github.com/Lillecarl/nixos/blob/master/common/defaul... for which packages I have installed myself :)

  • tkdu

    Discontinued Fork of Jeff Epler's tkdu program to visualize disk usage and `du` output — ARCHIVED as I haven't used this myself in years

    See also tkdu for a graphical version: https://github.com/daniel-beck/tkdu

    It's abandoned but it still works, and I like it because you can pipe the output of du into it, which is useful for visualizing remote systems.

  • parallel-disk-usage

    Highly parallelized, blazing fast directory tree analyzer

    ncdu is one of the most useful CLI tool out there! Been using it for many years as well.

    Another disk scanner worth plugging that I came across for some use cases where I needed to generate single-view reports is pdu - it has the same concurrency implementation that other ncdu alternatives use so the performance is much better too.

    https://github.com/KSXGitHub/parallel-disk-usage

  • tuc

    When cut doesn't cut it

    tuc instead of cut (cut text better than `cut`, or lines like head/tails - eg cut first and last line at once) (but I'm biased, I'm the author)

    https://github.com/riquito/tuc/

  • npkill

    List any node_modules 📦 dir in your system and how heavy they are. You can then select which ones you want to erase to free up space 🧹

  • ranger

    A VIM-inspired filemanager for the console

  • micro-editor

    A modern and intuitive terminal-based text editor

    I'm big fan of using micro[1] instead of nano/vim as the default command line text editor.

    [1] https://micro-editor.github.io/

  • duf

    Disk Usage/Free Utility - a better 'df' alternative

  • fd

    A simple, fast and user-friendly alternative to 'find'

  • btop

    A monitor of resources

    >that it only uses the snap package manager and nothing else

    The first installation method it shows for Linux systems is download a statically compiled binary and it already exists on the repos of every major distribution. What else you want?

    https://github.com/aristocratos/btop#installation

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts