Qdirstat is built for Linux and Unix systems. Its upstream project does not distribute a native Windows installer, but Windows can run the Linux application through WSL 2 with WSLg, or display the interface in a browser through a container.
This article explains how those options access Windows storage, how to avoid misleading download listings, and when a native Windows disk analyser makes more sense for a single drive or an occasional inspection on that system.
Why There Is No Native Qdirstat for Windows
Qdirstat is built with Qt, a cross-platform framework, so a Windows port might sound simple. In practice, Qdirstat is deeply connected to Unix concepts. It reads directory information using Unix system calls, understands Unix permissions, owners and groups, recognises hard links and sparse files the Unix way, and integrates with Linux package managers such as dpkg, rpm and pacman. Its cleanup actions run shell commands. Each of these would need significant rework on Windows.
The developer has focused Qdirstat on Linux, BSD and other Unix-like platforms, with macOS builds possible. Interestingly, the history runs the other way too: KDirStat, the predecessor of Qdirstat, inspired WinDirStat, which brought the same treemap concept to Windows years ago. So Windows already has a close relative, while Qdirstat concentrates on doing the Unix side exceptionally well.
Option 1: Run Qdirstat Through WSL2
The Windows Subsystem for Linux lets you run a real Linux distribution inside Windows. With WSL2 and its built-in graphical support, called WSLg, Linux GUI applications open in normal windows on your Windows desktop. Qdirstat is one of them.
The process is straightforward:
- Open PowerShell as administrator and run
wsl --install, which installs WSL2 and Ubuntu by default. - Restart the computer when prompted, then finish creating your Linux user.
- In the Ubuntu terminal, run
sudo apt updateandsudo apt install qdirstat. - Start Qdirstat with
qdirstat. It opens as a regular window on your Windows desktop.
Inside WSL, your Windows drives are mounted under /mnt, so the C: drive appears as /mnt/c. You can point Qdirstat at /mnt/c/Users/YourName to analyse your Windows profile.
Limitations of the WSL Approach
Accessing Windows files from WSL passes through a translation layer, so scanning large Windows folders is noticeably slower than scanning the Linux filesystem inside WSL. Some system folders may appear inaccessible because of Windows permissions. Cleanup actions also operate through that layer, so be especially careful when deleting Windows files from Qdirstat; moving files to a review folder first is a sensible precaution.
WSL shines when you want to analyse the Linux side, for example development projects, Docker data or virtual disk growth inside WSL itself. Our separate Qdirstat Windows download guide walks through the full WSL2 setup in detail.
Using Qdirstat to Keep WSL Itself Lean
WSL2 stores each Linux distribution inside a virtual hard disk file named ext4.vhdx. This file grows as you add data inside Linux but does not shrink automatically when you delete files. Developers who build large projects, pull many container images or download datasets inside WSL often discover that this virtual disk has quietly grown to tens of gigabytes.
Qdirstat is the perfect tool for understanding that growth from the inside. Run it within WSL on / or your Linux home directory and you will quickly see which project folders, package caches or container layers are responsible. Typical culprits include ~/.cache, node_modules folders, Python virtual environments, Rust target directories and /var/lib/docker when Docker runs inside the distribution.
After cleaning inside Linux, the space is free within the virtual disk but not yet returned to Windows. To reclaim it, shut WSL down with wsl --shutdown and compact the virtual disk. On editions of Windows with Hyper-V tools, the Optimize-VHD PowerShell command does this; on others, the diskpart utility offers a compact vdisk command. Recent WSL releases can also be configured to reclaim space automatically through sparse virtual disks. Always back up important data before compacting.
Performance Tips for Qdirstat in WSL
- Keep active projects inside the Linux filesystem rather than under
/mnt/c; Qdirstat scans them far faster. - Scan specific Windows folders instead of the entire C: drive to reduce waiting time.
- Add exclude rules for Windows folders you never need, such as
/mnt/c/Windows. - Update WSL regularly with
wsl --updateto benefit from graphics and file-system improvements.
Option 2: Run Qdirstat in Docker Desktop
If you already use Docker Desktop on Windows, a community Qdirstat container can display the application in your web browser. You mount the folders you want to analyse into the container, start it and open a local address such as http://localhost:5800. This approach keeps Qdirstat entirely isolated from your Windows installation and is convenient for inspecting Docker volumes or network storage.
The same file-access performance considerations apply when mounting Windows folders into a Linux container, and you should mount data read-only unless you intend to delete files through Qdirstat.
Option 3: Use Qdirstat on a Linux Machine or Live USB
Sometimes the most effective approach is to boot a Linux live USB, install Qdirstat in the live session and scan your Windows partition directly. This is useful when Windows will not start because the system drive is completely full. Mount the Windows partition read-only first, analyse it with Qdirstat, and decide what to remove once Windows is running again. Avoid writing to a Windows partition that was not shut down cleanly, particularly when Fast Startup is enabled.
Beware of Unofficial “Qdirstat for Windows” Downloads
Because there is no official native build, any website offering a ready-made “Qdirstat.exe” deserves suspicion. Such files may be outdated experiments, repackaged software with bundled extras or simply malware using a trusted name. The safe sources for Qdirstat are the official source code repository, your Linux distribution’s package manager, the AUR for Arch-based systems and well-known community container images whose documentation you can review.
If you see a Qdirstat installer advertised for Windows, check where it comes from, who built it and whether its source is published. When in doubt, use WSL2 or a Windows-native alternative instead.
Windows-Native Alternatives in the Same Spirit
| Tool | View | Notes |
|---|---|---|
| WinDirStat | Treemap and tree | Directly inspired by KDirStat; open source and actively maintained |
| WizTree | Treemap and tree | Reads the NTFS master file table for very fast scans |
| SpaceSniffer | Treemap | Portable and highly visual |
| Windows Storage settings | Category list | Built in; good for temporary files and apps |
WinDirStat is the closest relative of Qdirstat on Windows. It shows a sortable directory list above a cushion-style treemap with colours by file type, so anyone familiar with Qdirstat will feel at home instantly. For very large NTFS drives, WizTree is often faster because it reads filesystem metadata directly.
Moving from WinDirStat to Qdirstat
Many people meet Qdirstat after years of using WinDirStat, perhaps when they switch a computer to Linux or start working with servers. The transition is smooth. The directory list, the treemap, file type colours and cleanup actions all work in familiar ways. The main new concepts are Unix-specific: mount points and the “Cross Filesystems” setting, permissions that may hide some folders, and the package view that shows which installed software uses the most space. Spend a few minutes exploring these and Qdirstat will feel like a natural, more Linux-aware version of a tool you already know.
Whichever route you take, the habits that make Qdirstat effective stay the same: scan narrowly, read the biggest clusters first and confirm every path before acting.
Which Option Should You Choose?
- You want Qdirstat specifically and use WSL already: install it inside WSL2.
- You manage Docker volumes or a NAS from Windows: use the container approach.
- Windows will not boot because the disk is full: use a Linux live USB with Qdirstat.
- You simply want to clean up the C: drive quickly: use WinDirStat, which follows the same design.
Frequently Asked Questions
Is there an official Qdirstat Windows version?
No. Qdirstat officially targets Linux, BSD and Unix-like systems, with macOS builds possible. Windows users run it through WSL2 or Docker.
Can Qdirstat scan my C: drive through WSL?
Yes. The C: drive is available as /mnt/c inside WSL, although scanning it is slower than scanning Linux files and some folders may be inaccessible.
Is WinDirStat the Windows version of Qdirstat?
Not exactly. WinDirStat is a separate project inspired by KDirStat, the predecessor of Qdirstat. The two share the same concept and look similar.
Are Qdirstat .exe downloads safe?
Treat them with caution. Since no official Windows build exists, an executable claiming to be Qdirstat should be verified carefully or avoided.
Conclusion
Qdirstat is a Unix tool at heart, so Windows users will not find an official installer. Through WSL2, Docker or a Linux live USB, however, you can still enjoy the full Qdirstat experience on Windows hardware, and WinDirStat offers a closely related native alternative. Avoid unverified executables, choose the route that fits your situation, and you will gain the same clear view of disk usage that has made Qdirstat so popular.



