重要提示: Important Notes:
  • 在删除任何文件或目录之前,请务必了解其作用
  • Always understand what a file or directory does before deleting it
  • 强烈建议在执行手动清理前备份重要数据
  • Backup important data before performing manual cleanup
  • 普通用户优先使用系统自带的磁盘清理工具
  • Use built-in system cleanup tools for most users

Windows 系统清理 Windows System Cleanup

在 Windows 系统中,您可以手动清理以下目录和文件以释放空间。请注意,手动操作时需要管理员权限。

In Windows, you can manually clean the following directories and files to free up space. Note that administrator privileges are required.

临时文件和系统缓存

Temporary Files & System Cache

Windows 临时文件
Windows Temp Files

操作系统和应用程序生成的临时文件

Temporary files generated by OS and applications

C:\Windows\Temp C:\Windows\Temp

操作: 可安全删除该文件夹内所有内容,跳过正在使用的文件

Action: Safely delete all contents, skip files in use

用户临时文件
User Temp Files

特定于当前用户的临时文件

User-specific temporary files

%TEMP% 或 C:\Users\用户名\AppData\Local\Temp %TEMP% or C:\Users\username\AppData\Local\Temp

操作: 可安全删除内容,跳过正在使用的文件

Action: Safely delete contents, skip files in use

预取文件 (Prefetch)
Prefetch Files

用于加速程序启动的预取文件

Files to speed up application launching

C:\Windows\Prefetch C:\Windows\Prefetch

操作: 可安全删除所有文件,程序启动时会重新生成

Action: Safely delete all files, they will regenerate

下载和更新相关文件

Downloads & Update Files

下载文件夹
Downloads Folder

默认的浏览器下载位置

Default browser download location

C:\Users\用户名\Downloads C:\Users\username\Downloads

操作: 删除不再需要的文件

Action: Delete files no longer needed

软件分发目录
Software Distribution

Windows Update 下载更新文件的缓存

Windows Update download cache

C:\Windows\SoftwareDistribution\Download C:\Windows\SoftwareDistribution\Download

操作: 停止Windows Update服务后清空此目录

Action: Stop Windows Update service before emptying

⚠️ 警告:请勿手动删除以下目录 ⚠️ Warning: Do not delete these directories
  • C:\Windows (Windows核心系统文件) C:\Windows (Windows core system files)
  • C:\Program Files 和 C:\Program Files (x86) (程序安装目录) C:\Program Files & C:\Program Files (x86) (Program installation directories)
  • C:\Users (用户配置文件) C:\Users (User profiles)
  • C:\ProgramData (程序通用数据) C:\ProgramData (Program common data)

macOS 系统清理 macOS System Cleanup

macOS 系统也积累各种缓存文件,可以通过 Finder 和终端进行清理。

macOS also accumulates cache files that can be cleaned via Finder and Terminal.

用户缓存

User Cache

用户库缓存
User Library Cache

应用程序生成的用户缓存文件

Application-generated user cache files

~/Library/Caches/ ~/Library/Caches/

操作: 删除子文件夹内容,保留Caches文件夹

Action: Delete subfolder contents, keep Caches folder

应用程序支持缓存
Application Support Cache

应用程序支持文件夹中的缓存

Cache in Application Support folders

~/Library/Application Support/ ~/Library/Application Support/

操作: 谨慎操作,仅删除明确为缓存的文件夹

Action: Proceed with caution, delete only known cache

浏览器缓存和下载

Browser Cache & Downloads

浏览器缓存
Browser Cache

网页浏览器存储的缓存数据

Web browser stored cache data

操作: 通过浏览器设置中的清除浏览数据功能

Action: Use browser's clear browsing data feature

下载文件夹
Downloads Folder

默认的下载位置

Default download location

~/Downloads/ ~/Downloads/

操作: 删除不再需要的文件

Action: Delete files no longer needed

⚠️ 警告:请勿手动删除以下目录 ⚠️ Warning: Do not delete these directories
  • /System/ (macOS 核心系统文件) /System/ (macOS core system files)
  • /Applications/ (应用程序安装目录) /Applications/ (Application installation directory)
  • /Users/ (用户目录) /Users/ (User directories)
  • /Library/ (系统级资源库) /Library/ (System-level library)
专业建议: Expert Recommendations:

对于系统清理,许多第三方工具(如 CleanMyMac X for macOS, CCleaner for Windows)可以提供更全面的扫描和清理服务。然而,使用这些工具时也请保持警惕,选择信誉良好的软件,并仔细检查其清理选项,避免误删重要文件。

For system cleanup, third-party tools like CleanMyMac X for macOS and CCleaner for Windows offer comprehensive scanning and cleanup. However, use reputable software and carefully review cleanup options to avoid deleting important files.