Mac · Developer Tools

Is it safe to delete VS Code caches on Mac?

In KittoCleaner

VS Code cachesSafe

You stay signed in. Quit the app first so it does not rewrite the cache while it is being cleared.

Ticked by defaultDeleted permanently

What it is

Web caches the app keeps for pages and images.

Where it lives

  • ~/Library/Application Support/Code/Cache
  • ~/Library/Application Support/Code/Code Cache
  • ~/Library/Application Support/Code/GPUCache
  • ~/Library/Application Support/Code/DawnCache
  • ~/Library/Application Support/Code/DawnGraphiteCache
  • ~/Library/Application Support/Code/DawnWebGPUCache
  • ~/Library/Application Support/Code/CachedData
  • ~/Library/Application Support/Code/CachedExtensionVSIXs
  • ~/Library/Application Support/Code/logs
  • ~/Library/Caches/com.microsoft.VSCode.ShipIt

KittoCleaner lists VS Code caches only when at least one of these folders exists on your Mac.

What happens after you delete it

You stay signed in. Quit the app first so it does not rewrite the cache while it is being cleared.

By default KittoCleaner deletes it permanently, so it can't be brought back from the Trash afterwards.

Does KittoCleaner select it by default?

Yes. It is ticked by default, so Smart Clean clears it when you press Clean, unless you untick it first.

How to delete it by hand

  1. Quit VS Code first.
  2. In Finder, choose Go › Go to Folder, type the first path from the list above and press Return.
  3. Select everything inside the folder and choose File › Move to Trash. Leave the folder itself in place.
  4. Repeat the last two steps for each other folder in the list that exists on your Mac.
  5. Empty the Trash to get the space back.

How KittoCleaner handles it

  • Smart Clean scans every cleanup category at once and shows how much each one could free. Nothing is removed until you press Clean.
  • VS Code caches appears under the Developer Tools tile with its size, file count, the Safe badge and its warning. Open it to see every item inside, untick anything you want to keep, or add an item to your ignore list.
  • It is deleted permanently, which frees the space at once. To send it to the Trash first, turn on Always move files to the Trash in Settings › Cleaning.
  • Cleaning removes the items inside each folder and leaves the folder itself in place.
  • If VS Code is open, KittoCleaner shows it, and with Ask before clearing on the confirmation offers Quit Apps, Then Clean.
  • Items on your ignore list and items macOS locks are left in place.
  • Scanning is free, and cleaning draws on the free cleaning allowance. Pro is unlimited, and a Single Clean covers one full cleanup.

Already have KittoCleaner? Open VS Code caches in the app. Read more about how KittoCleaner keeps cleaning safe.

More Mac items in Developer Tools

Clearing several developer caches at once? See Mac developer cleanup.

See every cleanup item, grouped by risk