磁盘空间,
一眼看清。
Your disk usage,
at a glance.
NcduWin 是一款现代、轻量的 Windows 磁盘管理工具——空间分析、矩形树图、极速搜索、一键清理、位置迁移,全部收在一个干净的窗口里。 A modern, lightweight Windows disk manager — space analysis, treemaps, instant search, one-click cleanup and folder relocation, all in one clean window.
把一个磁盘工具该做的,都做好Everything a disk tool should do, done properly
没有多余的功能,也没有多余的步骤。扫描、查看、清理、迁移——每一步都为「放心按下删除键」而设计。No extra features, no extra steps. Scan, inspect, clean, relocate — every step designed so you can trust the delete button.
双重视图Dual Views
左侧 ncdu 风格文件列表,右侧交互式矩形树图,占用结构同时以「表」和「图」两种方式呈现。An ncdu-style file list on the left, an interactive treemap on the right — the same data as both table and picture.
极速扫描Fast Scanning
多线程扫描,NTFS 磁盘直读 MFT 索引表,比传统遍历快数倍;node_modules、.git 等重型目录可只计量、不深入。Multi-threaded, and reads the NTFS index table (MFT) directly on turbo mode — several times faster. Heavy folders like node_modules are measured without deep scanning.
智能排序Smart Sorting
点击任意列头,按名称、大小、占比、文件数或类型排序;面包屑导航可一键跳回任意父目录。Click any column to sort by name, size, percentage, file count or type. Breadcrumbs jump straight back to any parent folder.
一键清理One-Click Cleanup
检测临时文件、浏览器缓存、pip/npm 缓存与大文件,按五级安全分级分类,勾选即清,系统关键文件不会被误判为垃圾。Finds temp files, browser caches, pip/npm caches and large files, classified by a 5-level safety scale. System-critical files are never mistaken for junk.
重复文件查找Duplicate Finder
三级漏斗算法高效定位重复文件,支持按类型筛选,自动跳过系统文件,并智能保留最佳副本。A three-level funnel algorithm finds duplicates fast, with type filtering, safe skipping of system files, and smart selection of the best copy to keep.
极速文件搜索Instant Search
Everything 风格的文件名搜索,直接基于扫描结果,毫秒级定位,支持实时过滤与通配符。Everything-style filename search over the scan results — millisecond lookups with real-time filtering and wildcards.
安全删除Safe Delete
右键发送到回收站(可撤销)或永久删除;删除在后台执行并显示进度,不卡界面。Right-click to send to the Recycle Bin (undoable) or delete permanently. Deletes run in the background with a progress indicator.
系统优化System Optimization
一键开关 Windows 自动更新,修复网络故障,刷新 DNS 缓存,重置应用商店缓存。Toggle Windows automatic updates, repair network problems, flush DNS and reset the Store cache — one click each.
保存位置迁移Relocate Folders
把库文件夹与软件数据目录搬到其他磁盘,原位置保留目录联接,软件照常使用,C 盘空间即刻释放。Move library folders and app data to another disk. A junction stays behind, so software keeps working and your C: drive breathes again.
可还原的迁移流程Restorable Moves
复制、校验、建联接、删旧目录分步进行;搬移前先做检查,失败可一键还原,残留文件可一键清理,还能找出占用目录的进程。Copy, verify, link, then remove — step by step, with a pre-flight check, one-click restore on failure, leftover cleanup, and detection of the process locking a folder.
中英双语Bilingual UI
内置简体中文与英语,选一次语言,以后自动记住。Built-in Chinese and English. Pick a language once — it remembers.
清爽界面Clean UI
柔和配色、清晰视觉层次、深浅色模式与自定义主题色,一看就懂的原生 Windows 体验。Soft colors, clear hierarchy, dark/light modes and custom theme colors — a native Windows feel you can read at a glance.
※「安全分级」指清理与删除时的五级危险度标注(L1 安全 – L5 高危),等级越低越可以放心清理;上表方块为示意。The safety scale is the 5-level risk label (L1 safe – L5 critical) applied during cleanup and deletion. The squares above are illustrative.
看看它长什么样See it in action
点击任意截图可全屏查看。Click any screenshot to view it full screen.
⤢ 点击放大
左侧目录树可逐层下钻,右侧色块面积直接编码占用大小,悬停显示完整路径与软件识别信息。Drill into the tree on the left; block area encodes size on the right. Hover for full paths and app detection.
⤢ 点击放大
自动检测临时文件、浏览器缓存、pip/npm 缓存与大文件,按五级安全分级排列,勾选即清。Detects temp files, browser caches, pip/npm caches and large files, sorted by safety level. Check and clean.
⤢ 点击放大
对文件内容做快速解读,支持多轮问答,也可在文件列表右键直接唤起。Quick file-content analysis with multi-turn chat, also available from the file list context menu.
⤢ 点击放大
一键开关 Windows 自动更新,修复网络故障、刷新 DNS、重置应用商店缓存。Toggle Windows auto-update, repair network issues, flush DNS, reset the Store cache.
⤢ 点击放大
把占地方的系统目录整体搬到其他磁盘,原位置保留目录联接,系统照常识别。Move bulky system folders to another disk. A junction stays behind, so Windows still finds them.
⤢ 点击放大
软件数据目录搬家不断连——联接留在原处,软件无需重新配置。Move app data without breaking it — the junction stays, no reconfiguration needed.
三步开始用Up and running in three steps
下载安装包,一键安装即可使用。也可从源码构建。Download the installer, run it, and you're ready. Or build from source.
下载Download
获取安装包 NcduWin_1.1.0_Setup.exe,双击运行,无需额外运行时。Grab NcduWin_1.1.0_Setup.exe and run it. No extra runtime needed.
安装Install
一键安装,自动创建桌面与开始菜单快捷方式,自带卸载程序。One-click install creates desktop and Start menu shortcuts, and ships with an uninstaller.
启动Launch
首次启动自动申请管理员权限并分析用户目录,打开就能看到空间分布。First launch requests admin rights and analyzes your user folder — space usage is on screen immediately.
# 克隆仓库并构建clone and build $ git clone https://github.com/xiaodingfeng/ncdu-win-qt.git $ cd ncdu-win-qt $ scripts\build.bat
发布日志Changelog
自动扫描 & 性能提升Auto Scan & Speed Boost
- 清理模块新增「自动扫描」复选框,可按需开启Cleanup module adds an “Auto scan” checkbox you can enable on demand
- 帮助菜单新增反馈入口,问题与建议一键直达New feedback entry in the Help menu — send issues and suggestions in one click
- 优化磁盘扫描性能,大容量磁盘分析更快Faster disk scanning for quicker analysis of large drives
- 优化重复文件扫描性能,分组结果更快呈现Faster duplicate scanning, so grouped results appear sooner
搬移更安全 & 文件占用处理优化Safer Moves & File-Lock Handling
- 搬移、清理前会自动先做一次检查,提前发现可能导致失败的问题Moves and cleanups now run a check first, so problems that would cause a failure show up early
- 目录搬移过程更清楚:开始时告知检查结果,完成后给出结果说明,失败还能重试Folder moves are clearer: you see the check result before it starts, a report when it finishes, and can retry if it fails
- 目标目录被程序占用时,会直接告诉你是哪个程序占用的,并可一键安全关闭它后继续If a program is using the target folder, NcduWin tells you which one and can safely close it so the move can continue
- 搬移失败留下的残留文件可一键清理,不用再手动去删Leftover files from a failed move can be cleaned up with one click
- 清理面板新增状态筛选,可同时勾选多个状态查看,筛选面板保持展开方便连续操作The cleanup panel now has status filters — pick several at once, and the panel stays open for continuous use
- 补充操作结果与提示的中英文文案Added Chinese and English text for operation results and prompts
系统优化 & 保存位置迁移System Optimization & Save-Location Relocation
- 新增「系统优化」:一键开关 Windows 自动更新,修复网络故障,刷新 DNS,重置应用商店缓存New System Optimization — toggle Windows automatic updates, repair network problems, flush DNS, reset the Store cache
- 新增「保存位置迁移」:系统文件夹与软件数据目录可整体搬到其他磁盘,原位置保留联接,软件照常使用,C 盘空间即刻释放New save-location relocation — move system folders and app data to another disk. A junction stays behind, so software keeps working and your C drive is freed up
- 迁移全程可还原:复制、校验、建联接、删旧目录分步进行,失败可一键还原Moves stay reversible — copy, verify, link, then remove the source, with one-click restore if anything fails
- 自动识别占用目录的程序,系统关键位置禁止操作,避免误删Detects the process locking a folder, and keeps critical system locations off-limits so nothing is deleted by accident
- 新增扫描耗时统计、清理进度条与大文件详情查看Added scan timing, a cleanup progress bar and a large-file detail view
- 崩溃时记录出错模块与调用栈,方便定位问题Crash logs now record the faulting module and call stack to make problems diagnosable
- 修复切换语言后部分窗口未刷新的问题Fixed windows that did not refresh after a language switch
AI 问答对话 & 安装脚本优化AI Chat & Installer Localization
- 新增 AI 问答对话功能,支持多轮上下文对话Added AI chat — multi-turn contextual conversation
- 完善安装脚本的中文本地化与任务描述Improved installer script Chinese localization and task descriptions
AI 智能分析 & 回收站清理AI Analysis & Recycle Bin Cleanup
- 新增 AI 智能分析功能,支持快速分析文件内容,并可通过右键菜单使用Added AI smart analysis — quickly analyze file content, accessible via the right-click context menu
- 新增回收站清理模式,支持安全删除或永久删除Added Recycle Bin cleanup mode with safe delete and permanent delete options
- 优化清理确认弹窗和清理流程,操作更简单、更安全Optimized the cleanup confirmation dialog and cleanup flow for a simpler, safer experience
重复文件智能优化与体验提升Smart Duplicate Optimization & Experience
- 新增重复文件智能选择,自动保留最佳副本Added smart duplicate selection that automatically keeps the best copy
- 新增低内存扫描中断提示,提升结果可理解性Added low-memory scan interruption notice for clearer results
- 优化重复文件扫描进度展示Improved duplicate file scanning progress display
- 新增发布日志入口,优化默认扫描路径Added changelog entry point, optimized default scan path
重复文件查找 & 自动更新Duplicate Finder & Auto-Update
- 新增重复文件扫描功能,采用三级漏斗算法高效查找重复文件,支持按类型筛选并安全跳过系统文件Added duplicate file scanning with a three-level funnel algorithm for efficient duplicate detection, supporting type filtering and safely skipping system files
- 实现自动更新功能,新增完整的更新提示、下载及静默安装流程Implemented auto-update with a complete update prompt, download, and silent installation flow
- 更新应用程序版本号、安装包信息及本地化字符串Updated application version number, installer package info, and localization strings
- 优化大文件下拉框样式Optimized the large-file dropdown box style
- 支持自定义主题颜色Custom theme color support
性能优化与个性化Performance & Personalization
- 大幅优化内存性能,降低扫描大目录时的内存占用Greatly optimized memory performance, reducing memory usage when scanning large directories
- 新增主题切换(深浅色模式)Added dark/light mode toggle
磁盘扫描全面提速Much Faster Disk Scanning
- 新增极速扫描模式 —— 直接读取 NTFS 磁盘索引表(MFT),速度比传统方式快数倍New turbo scan mode — reads the NTFS index table (MFT) directly, several times faster than the old way
- 内置智能判断,NTFS 格式的磁盘自动切换为极速模式,无需手动选择Auto-detects NTFS drives and switches to turbo mode — no manual setup needed
- 新增全局崩溃保护机制,遇到意外错误程序不再直接消失,会记录日志方便排查Added crash protection — if something goes wrong, the program logs the details instead of disappearing silently
- 扫描和清理过程中的提示信息更加清晰友好Clearer, friendlier messages during scanning and cleanup
- 附带扫描器性能对比工具,方便技术爱好者自行对比新旧模式的速度差异Includes a scanner comparison tool for enthusiasts to benchmark the speed difference
体验优化与稳定性提升Experience & Stability
- 扫描系统文件夹时跳过 WinSxS(系统组件目录),避免程序卡死或闪退Skip WinSxS during system folder scans to prevent freezing or crashing
- 大文件和清理建议的危险等级更准确,系统关键文件不再显示为普通垃圾More accurate danger-level labels — system-critical files won't appear as regular junk
- 删除和回收站操作改为后台进行,不卡界面,并显示进度Delete and Recycle Bin operations now run in the background with a progress indicator
- 如果回收站操作失败,会自动改为永久删除,不让你卡住If Recycle Bin fails, automatically falls back to permanent delete so you're not stuck
- 界面按钮样式微调,视觉效果更统一Polished button styles for a more consistent look
- 清理功能统一使用永久删除,速度更快、更可靠Cleanup now always uses permanent delete for faster, more reliable results
首个正式版发布Initial Release
- 极速扫描 — 多线程同时扫描你的磁盘,大硬盘也能很快完成Fast scanning — multi-threaded, so even large drives finish quickly
- 可跳过重型文件夹(如 node_modules、.git),只显示大小不深入扫描,节省时间Skip heavy folders like node_modules or .git — see their size without deep scanning
- 自动申请管理员权限,能扫描 C:\Windows 等受保护的系统文件夹Auto-requests admin rights, can scan protected folders like C:\Windows
- 双重视图 — 左边文件列表 + 右边彩色矩形树图,一眼看清空间都去哪儿了Dual views — file list on the left, colorful treemap on the right, see where space went at a glance
- 智能排序 — 点一下列头就能按名称、大小、占比、文件数量或类型排序Smart sorting — click any column to sort by name, size, percentage, file count, or type
- 自动识别 Adobe、JetBrains、Office、Steam 等常见软件和开发项目目录Auto-detects common software folders (Adobe, JetBrains, Office, Steam, etc.) and dev projects
- 面包屑导航 — 点击路径条就能快速跳转到任意父目录Breadcrumb navigation — click any parent folder in the path bar to jump there
- 鼠标悬停时显示完整文件路径和软件识别信息,一目了然Hover to see the full file path and software identification info at a glance
- 右键可发送到回收站(可反悔)或永久删除,支持五级安全系统保护重要文件Right-click to Recycle Bin (undoable) or permanently delete, with 5-level safety protection
- 一键清理 — 自动检测临时文件、浏览器缓存、pip/npm 缓存和大文件,按安全等级分类One-click cleanup — detects temp files, browser cache, pip/npm cache and large files by safety level
- 首次启动自动分析你的用户目录,打开就能看到空间使用情况Auto-scans your user folder on first launch — see space usage right away
- 中英双语界面,选一次语言以后自动记住Bilingual CN/EN interface — pick once and it remembers your preference
- 清爽现代界面 — 柔和配色、圆角设计、视觉层次清晰,一看就懂Clean modern UI — soft colors, rounded corners, clear visual hierarchy
- 一键安装,自动创建桌面和开始菜单快捷方式,自带卸载程序One-click installer, auto-creates desktop and Start menu shortcuts, comes with uninstaller