Skip to content

Instantly share code, notes, and snippets.

@1solation
Created November 8, 2022 17:45
Show Gist options
  • Save 1solation/953bbec31c10a90129f341eefb373b93 to your computer and use it in GitHub Desktop.
Save 1solation/953bbec31c10a90129f341eefb373b93 to your computer and use it in GitHub Desktop.
vs code fails to update fix MacOS

VS Code fails to update

If VS Code doesn't update correctly once it restarts (with auto-updates enabled), it may be quarantined by macOS.

Option 1:

  • Move Code out of Downloads and into the Applications folder.

If option 1 doesn't work & fix VS Code's failed update

Option 2:

If updates still don't work after moving VS Code to the Applications folder, you can fix it with xattr:

sudo chown $USER ~/Library/Caches/com.microsoft.VSCode.ShipIt/*
xattr -dr com.apple.quarantine /Applications/Visual\ Studio\ Code.app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment