GitHub Copilot + VS Code: what actually eats your disk

Copilot itself is small; the host VS Code is the hoarder.

Where the space goes (macOS)

PathSafe?
~/Library/Application Support/Code/Cache*, Code Cache, GPUCacheYes
.../Code/CachedExtensionVSIXs/Yes (old extension installers)
.../Code/logs/Yes
.../Code/User/workspaceStorage/Mostly yes
.../Code/User/globalStorage/No (auth, extension state incl. Copilot)

Safe cleanup

# quit VS Code first
rm -rf ~/Library/"Application Support"/Code/Cache*
rm -rf ~/Library/"Application Support"/Code/Code\ Cache
rm -rf ~/Library/"Application Support"/Code/CachedExtensionVSIXs
rm -rf ~/Library/"Application Support"/Code/logs

FAQ

Will I be logged out?
Not if you keep globalStorage intact.
Copilot chat history?
Kept server-side for your account; local caches rebuild.

One-click alternatives

Don't want to touch the terminal? These do it safely (paid):

CleanMyMac (macOS) — free scan DaisyDisk (macOS) CCleaner (Win/Mac)

Sponsored links. We only list tools we'd run ourselves.