加载中...
不想等待可以点我关掉

清理C盘占用

清理 WinSxS 文件夹

$

清理 WinSxS 文件夹 | Microsoft Learn

WSL

owu/wsl-dashboard: A GUI manager for WSL featuring a modern UI — a lightweight, low‑memory, high‑performance dashboard to manage WSL instances.

移动及压缩

使用以下命令强行启用稀疏VHD

$

Autodesk webdeploy

Webdeploy 文件夹太大(对于 Fusion 文件),大于预期

NPM Cache

$

Edge

C:\Users\thun888\AppData\Local\Microsoft\Edge\User Data\Default目录下Service Worker

Temp

1
2
Get-ChildItem $env:TEMP -Force |
Remove-Item -Recurse -Force -ErrorAction SilentlyContinue

Go

1
2
3
4
5
go clean -modcache # 清理模块下载缓存
go clean -cache # 清理编译缓存
go clean -testcache # 清理测试缓存
go clean -cache -modcache -testcache # 一次清理所有缓存
go env GOMODCACHE # 查看模块缓存位置

cleanmgr

使用自带的Windows 磁盘清理

$

PNPM

1
2
pnpm store path # 查看位置
pnpm store prune

此环境变量太大 2047

直接修改注册表HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment