Skip to content

Instantly share code, notes, and snippets.

@vovimayhem
Last active February 18, 2023 21:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vovimayhem/df015dad835d484a0d17c6e7ebdd3132 to your computer and use it in GitHub Desktop.
Save vovimayhem/df015dad835d484a0d17c6e7ebdd3132 to your computer and use it in GitHub Desktop.
Completely remove Visual Studio Code on Mac 2023
#! /bin/zsh
sudo rm -rf "/Applications/Visual Studio Code.app"
sudo rm -rf /System/Volumes/Data/usr/local/bin/code
rm -rf ~/Library/Application\ Support/Code
rm -rf ~/Library/Application\ Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.microsoft.vscode.sfl2
rm -rf ~/Library/Caches/com.microsoft.VSCode*
rm -rf ~/Library/HTTPStorages/com.microsoft.VSCode*
rm -rf ~/Library/Preferences/ByHost/com.microsoft.VSCode*
rm -rf ~/Library/Preferences/com.microsoft.VSCode*
rm -rf ~/Library/Saved\ Application\ State/com.microsoft.VSCode*
rm -rf ~/.vscode*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment