Qdirstat has no upstream Windows installer. To run it on a supported Windows computer, install Ubuntu under WSL 2 and use WSLg to display the Linux application on your desktop. The Qdirstat package runs inside Ubuntu, and Windows drives appear through mount points such as /mnt/c.
The steps below cover installing WSL, selecting the Ubuntu package, launching the app and checking a Windows folder. Start with a small directory to confirm it is the one you intended to scan. Use the Windows file manager for cleanup if you want files to follow the normal Windows Recycle Bin workflow for files you decide to remove.
What You Need Before You Start
- Windows 11, or Windows 10 version 22H2 with current updates. WSLg, the component that displays Linux graphical applications, is included with the modern WSL package on both.
- Virtualisation enabled in your computer’s firmware settings. Most recent computers enable it by default; Task Manager’s Performance tab shows “Virtualisation: Enabled” when it is active.
- Administrator rights to install WSL the first time.
- About 2 GB of free space for Ubuntu and Qdirstat, plus room for any Linux data you add later.
- An up-to-date graphics driver, which helps Linux windows render smoothly.
Step 1: Install WSL2 and Ubuntu
Right-click the Start button, choose Terminal (Admin) or Windows PowerShell (Admin), and run:
wsl --install
This single command enables the required Windows features, downloads the latest WSL package and installs Ubuntu as the default Linux distribution. When it finishes, restart your computer. After the restart, an Ubuntu window opens automatically and asks you to create a Linux username and password. These are separate from your Windows account; choose something you will remember, because you will need the password for sudo commands.
If WSL was already installed on your computer some time ago, update it to make sure graphical support is present:
wsl --update
wsl --status
The status output should report WSL version 2 as the default. If an older distribution still uses WSL 1, convert it with wsl --set-version Ubuntu 2.
Step 2: Update Ubuntu
Open Ubuntu from the Start menu. Before installing new software, bring the Linux system up to date:
sudo apt update
sudo apt upgrade -y
This ensures that Qdirstat installs against current libraries and that security updates are applied.
Step 3: Install Qdirstat
Qdirstat is in Ubuntu’s repositories, so the actual Qdirstat download and installation is one command:
sudo apt install qdirstat
Apt downloads Qdirstat and the Qt libraries it needs. The download is modest, and the whole step usually finishes in under a minute on a normal connection.
If you prefer a different distribution, the same idea applies. Debian uses the same apt command, Fedora in WSL uses sudo dnf install qdirstat, and openSUSE uses sudo zypper install qdirstat.
Step 4: Launch Qdirstat on Windows
In the Ubuntu terminal, type:
qdirstat
After a moment, the Qdirstat window appears on your Windows desktop with its own taskbar entry. It asks which directory to scan. To start with your Linux home directory, choose /home/yourname. Qdirstat reads the folder, then shows the familiar sorted tree above the colourful treemap.
WSL also adds Linux graphical applications to the Windows Start menu automatically. Look for a folder named after your distribution, such as “Ubuntu”, which contains a Qdirstat shortcut. You can pin it to Start or the taskbar like any Windows program.
Step 5: Scan Your Windows Drives
WSL mounts Windows drives under /mnt. Your C: drive is /mnt/c, D: is /mnt/d, and so on. To analyse your Windows user profile, start Qdirstat with:
qdirstat /mnt/c/Users/YourWindowsName
Replace YourWindowsName with your actual Windows account folder. Scanning Windows files from WSL is slower than scanning Linux files, because each file access crosses from the Linux virtual machine to the Windows filesystem. For that reason, scan specific folders such as Downloads, Videos or AppData rather than the whole drive.
Interpreting Windows Results
In your Windows profile, common space consumers include AppData/Local, which holds application caches and temporary files, Downloads, video folders and game libraries. Qdirstat shows these clearly. Some system-owned folders may appear as inaccessible because WSL cannot read files locked by Windows permissions; this is normal.
Deleting Windows Files Safely
Qdirstat cleanup actions operate through WSL, and files deleted this way bypass the Windows Recycle Bin. Before removing anything from /mnt/c, consider moving it to a review folder first, or open the location in Windows Explorer and delete it there so the Recycle Bin can catch mistakes. You can configure a Qdirstat cleanup action that runs explorer.exe . in the selected directory to make this convenient.
Step 6: Create a Handy Desktop Shortcut
To start Qdirstat directly on a chosen folder from Windows, create a shortcut whose target is:
wsl.exe -d Ubuntu qdirstat /mnt/c/Users/YourWindowsName
Give it a recognisable name such as “Qdirstat – My Profile”. Double-clicking it launches Qdirstat on that folder without opening a terminal first.
Configuring Qdirstat for Windows Folders
A few Qdirstat settings make working with Windows data more comfortable. In the cleanup actions settings, add an action titled “Open in Explorer” with the command explorer.exe . and set it to run in the selected directory. This opens the familiar Windows file manager exactly where Qdirstat is pointing, so you can delete files there with Recycle Bin protection.
Exclude rules help too. Add patterns for folders you never need to inspect, such as /mnt/c/Windows, /mnt/c/Program Files and /mnt/c/ProgramData, so your scans focus on user data and finish sooner. You can also disable the permanent “Delete” action entirely if you prefer to remove Windows files only through Explorer.
Finally, remember that WSL keeps its own Linux data inside a virtual disk on your C: drive. Scanning your Linux home directory with Qdirstat from time to time keeps that virtual disk from growing unnoticed.
Scanning External and Network Drives
USB drives connected to Windows usually appear under /mnt automatically with their drive letter. If one is missing, mount it manually with sudo mount -t drvfs E: /mnt/e after creating the folder. Network shares mapped to a drive letter can be mounted the same way, although scans over the network will be slower.
Keeping Qdirstat Updated
Because Qdirstat is installed with apt, it updates together with the rest of Ubuntu. Run these commands occasionally inside Ubuntu:
sudo apt update
sudo apt upgrade
Update WSL itself from Windows with wsl --update. Newer WSL releases bring better graphics performance and file-system improvements that benefit Qdirstat.
Troubleshooting the WSL Qdirstat Setup
The Qdirstat Window Does Not Appear
Run wsl --update in Windows, then wsl --shutdown, and open Ubuntu again. Make sure your distribution runs under WSL 2, because graphical applications are not supported in WSL 1.
“qdirstat: command not found”
The installation did not complete. Run sudo apt update followed by sudo apt install qdirstat again and read any error messages carefully.
Scans of the C: Drive Are Very Slow
This is expected when scanning many small Windows files through WSL. Narrow the scan to specific folders, or use a Windows-native tool such as WinDirStat for whole-drive analysis.
Text or Window Scaling Looks Wrong
High-resolution displays sometimes show Linux applications too small or too large. Setting the environment variable QT_SCALE_FACTOR, for example QT_SCALE_FACTOR=1.5 qdirstat, adjusts Qdirstat’s scaling.
Removing Qdirstat and WSL
To remove only Qdirstat, run sudo apt remove qdirstat inside Ubuntu. To remove the entire Linux distribution and all its data, run wsl --unregister Ubuntu in Windows. Unregistering deletes everything stored inside that distribution, so copy any files you want to keep beforehand.
A Word on Unofficial Windows Downloads
Because no official Qdirstat Windows installer exists, executables advertised as “Qdirstat for Windows” should be treated with caution. They may be outdated, modified or bundled with unwanted software. The WSL2 method described here installs genuine Qdirstat from Ubuntu’s signed repositories, which is a much safer foundation.
Frequently Asked Questions
Is there a direct Qdirstat Windows download?
No official Windows installer exists. The recommended approach is installing Qdirstat inside WSL2 with sudo apt install qdirstat.
Does Qdirstat in WSL work on Windows 10?
Yes, on Windows 10 version 22H2 with the current WSL package from wsl --update, which includes graphical application support.
Can Qdirstat delete files on my C: drive?
Yes, but deletions through WSL bypass the Recycle Bin. Move files to a review folder or delete them from Explorer to keep a safety net.
How much space does Qdirstat need in WSL?
Qdirstat itself is small. Together with Ubuntu and its Qt libraries, plan for roughly 2 GB.
Conclusion
A genuine Qdirstat Windows download is really a WSL2 setup: install WSL with one command, add Qdirstat from Ubuntu’s repositories and launch it as a normal Windows window. Scan Linux folders at full speed, examine Windows folders through /mnt/c with a little patience, and delete Windows files carefully. With that setup in place, the full power of Qdirstat is available on any modern Windows PC.



