TL;DR — Quick Summary

duf is a modern df replacement that shows disk usage in a beautiful, color-coded dashboard. See all mounts, filesystems, and usage at a glance — df but actually readable.

duf makes disk usage beautiful. Color-coded table, usage bars, logical grouping — df without the headache.

Installation

# macOS
brew install duf

# Arch Linux
sudo pacman -S duf

# Go
go install github.com/muesli/duf@latest

# Ubuntu/Debian
sudo apt install duf

Usage

# Show all filesystems
duf

# Show specific path
duf /home

# Filter by type
duf --only local              # Local disks only
duf --only network            # Network mounts only
duf --only special            # Special filesystems

# Hide types
duf --hide special            # Hide pseudo-filesystems
duf --hide network,special    # Hide multiple types

# Sorting
duf --sort size               # Sort by size
duf --sort usage              # Sort by usage percentage
duf --sort fs                 # Sort by filesystem name

# Output formats
duf --json                    # JSON output
duf --output mountpoint,size,usage  # Custom columns

# Theming
duf --theme dark              # Dark theme
duf --theme light             # Light theme

Summary

  • duf shows disk usage in a beautiful, color-coded table with usage bars
  • Groups local, network, and special filesystems separately
  • Sort by size, usage, filesystem — filter by type
  • JSON output for scripting, custom column selection
  • Written in Go — cross-platform, single binary