Is it safe to delete VS Code cache?

~/Library/Application Support/Code/Cache · Safe to delete

What it is

Web content cache used by Visual Studio Code's window.

Can you delete it?

Yes, it is rebuilt automatically. VS Code rebuilds it. Your settings and extensions are elsewhere and stay.

How to clean it safely

  1. Quit VS Code.
  2. Delete the contents of Cache and CachedData.

How big is it on your Mac?

This read-only command prints its size and changes nothing:

 Terminal
du -sh ~/"Library/Application Support/Code/Cache" 2>/dev/null

Step-by-step guide: Developer caches on a Mac →

Questions

Is it safe to delete ~/Library/Application Support/Code/Cache?

Yes, it is rebuilt automatically. VS Code rebuilds it. Your settings and extensions are elsewhere and stay.

Let the raccoon do it, safely

Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free to download, no account, no ads.

Download for Mac