Changelog
- Let your AI agent drive Mole:
mo analyze --json [path]prints a disk report andmo uninstall --listprints the installed apps as JSON, so the official Mole skill can answer what is using space and which apps are installed; install it withnpx skills add tw93/Mole -a claude-code codex cursor -g -y. - Games keep their shader caches:
mo cleanno longer empties the NVIDIA, AMD, Intel, DirectX and Vulkan shader caches on every run, which made each game recompile for minutes on its next launch; runmo clean --gpu-shaderswhen you want them gone. - Uninstall search works with one match: Narrowing the
mo uninstalllist to a single app no longer stops the menu on Windows PowerShell 5.1, and app names in Chinese and other languages no longer turn into question marks. - Stronger protection for secrets and system folders: Short names, trailing-dot aliases and linked folders can no longer slip a path such as
C:\Windows,.sshorMicrosoft\Credentialspast the protection checks, and a linked whitelist folder stays protected. - Reliable output for scripts: JSON keeps Chinese and other names readable in Windows PowerShell 5.1, the overview total counts each folder once,
--debugand tool download lines no longer mix into redirected output, andmo status --watch --interval 1sworks as well as--interval=1s. - Faster cleanup, cleaner removal: Cleanup reads the whitelist once per folder instead of once per file and skips a Maven scan that could never remove anything, and
install.ps1 -Uninstallnow also clears Mole's cache, likemo remove.
更新日志
- 让 AI Agent 帮你用 Mole:
mo analyze --json [路径]输出磁盘分析报告,mo uninstall --list以 JSON 列出已安装的应用,官方 Mole skill 因此能回答哪里占了空间、装了哪些应用,安装命令是npx skills add tw93/Mole -a claude-code codex cursor -g -y。 - 游戏的着色器缓存不再被清掉:
mo clean不再每次都清空 NVIDIA、AMD、Intel、DirectX 和 Vulkan 的着色器缓存,以前每清一次,每个游戏下次启动都要重新编译好几分钟,需要清理时运行mo clean --gpu-shaders。 - 卸载搜索只剩一个结果也能用:在
mo uninstall里把列表筛到只剩一个应用时,Windows PowerShell 5.1 下菜单不会再中断,中文等非英文的应用名也不再显示成问号。 - 更牢靠地保护密钥和系统目录:短文件名、末尾带点的别名和链接目录都不能再让
C:\Windows、.ssh或Microsoft\Credentials这类路径绕过保护检查,链接过去的白名单目录也会继续受保护。 - 脚本拿到的输出更可靠:Windows PowerShell 5.1 下 JSON 里的中文等名字不再乱码,磁盘概览的总量每个目录只算一次,
--debug和工具下载的提示不会再混进重定向的输出,mo status --watch --interval 1s和--interval=1s两种写法都能用。 - 清理更快,卸载 Mole 更干净:清理时每个目录只读一次白名单,不再每个文件读一次,也去掉了一个永远删不掉任何东西的 Maven 扫描,
install.ps1 -Uninstall现在也会像mo remove一样清掉 Mole 的缓存。
Install
scoop install moleOr with the script:
iwr -useb https://raw.githubusercontent.com/tw93/Mole/windows/quick-install.ps1 | iexAlready installed? Run mo update, or scoop update mole for a Scoop install. The files below are what package managers and mo download; every script and executable is code-signed, and SHA256SUMS.txt lists their checksums.
Mole for Windows
If you would rather work in a window than a terminal, Mole for Windows covers cleaning, app removal and updates, startup items, disk analysis and live status, and shows everything before it deletes. The CLI stays free and open source.