shundhammer

qdirstat: Find What Is Using Your Disk Space

QDirStat is a Qt desktop application that visualizes directory sizes in a tree and treemap, helping users locate large files and reclaim space. It also offers configurable cleanup actions and views for file types, ages, and installed packages.

View on GitHub Compare
Stars
2.6k
Forks
165
Stars, last 30 days
+33

Our take

Health score

56/100

How it is scored
Activity
51
Community
36
Issues
72
Pull requests
63

+33 stars in the last 30 days

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

2,665

Forks

170

Change since Nov 17, 2026: 0 stars·0 forks

Overview

QDirStat scans a directory tree and shows how disk space is distributed, using both a hierarchical tree and a treemap where larger files and folders occupy larger areas. Selecting an item in either view helps locate it in the other, making it easier to investigate disk usage and decide what to clean up.

It is aimed at desktop users and administrators who want a visual alternative to command-line disk-usage tools. The project is a Qt application derived from KDirStat and does not require KDE libraries. It targets Linux, BSD, and other Unix-like systems, with macOS builds described in the repository.

Key Features

  • Compare directory and file sizes in a tree view and an interactive treemap.
  • Select multiple items and use configurable cleanup actions, including moving items to trash or deleting them.
  • View disk usage by file type, file size, file age, and mounted filesystem.
  • Inspect installed packages and their files, or find files in system directories that are not package-managed.
  • Search scanned trees by name and save bookmarks for frequently visited directories.
  • Read or write cache files, including for viewing directory scans made on remote servers.

Use Cases

  • A desktop user wants to find large files and folders before freeing space on a full disk.
  • A system administrator wants to inspect disk usage without installing a KDE-based application on a Linux or BSD desktop.
  • A user needs to identify old files, file types, or unowned files in system directories before archiving or cleaning them up.
  • Someone investigating a remote server can create a cache file there and inspect the scan on a desktop with a graphical interface.

Getting Started

On Ubuntu, install the build dependencies and compile from the repository:

sudo apt-get install build-essential qtbase6-dev qt6-5compat-dev zlib1g-dev
qmake6
make

For installation instructions, other distributions, and ready-made packages, see the README.

Considerations

Building from source requires a C++ compiler, Qt 6 development files, and zlib. The README also lists ready-made packages for several Linux distributions. There is no native Windows version; the project points Windows users to Docker or WinDirStat. The README describes macOS binaries as being distributed through a separate repository, rather than as native builds maintained here. Cleanup actions can remove data, so review actions and selected files before running them.

Found this useful?

Share it with someone who would like qdirstat.