gdu——command-line tool for scanning disk file usage

ncdu is a disk usage scanning tool, similar to DaisyDisk

ncdu /Users/ww/Downloads
# Just enter the path you want to scan after ncdu, / means scanning the entire disk

image

However, ncdu is only available on Mac and Linux platforms and does not have a Windows version.

After some searching, I found gdu has similar functionality and supports Linux, Mac, and Windows platforms.

The experience is almost the same as ncdu. After installation,

gdu /

# To avoid a conflict with `coreutils`, `gdu` has been installed as `gdu-go`.
# On macOS, you need to use gdu-go
gdu-go / 

gdu launched!

Windows Installation

Windows is recommended to install via the scoop package manager

scoop install main/gdu

You can also directly download and install the precompiled version from GitHub

Linux and macOS Installation

Use the appropriate package manager to install, for example,

brew install gdu