Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save syahzul/8abf1f01ec4a8b10501dad16fd2bc861 to your computer and use it in GitHub Desktop.
Save syahzul/8abf1f01ec4a8b10501dad16fd2bc861 to your computer and use it in GitHub Desktop.

Revisions

  1. syahzul revised this gist Jul 24, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion how-to-completely-uninstall-vscode-on-macos-big-sur.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    # Remove Extensions

    To remove all extensions, remove the following folder
    To remove only the extensions, run the the following command:

    ```
    rm -rf ~/.vscode
  2. syahzul renamed this gist Jul 24, 2021. 1 changed file with 0 additions and 0 deletions.
  3. syahzul created this gist Jul 24, 2021.
    33 changes: 33 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,33 @@
    # Remove Extensions

    To remove all extensions, remove the following folder

    ```
    rm -rf ~/.vscode
    ```

    Now all the extensions will be removed, and you can start from scratch to install the one you need.


    # Uninstall Completely

    If you want to remove it completely, run all these commands.

    ```
    osascript -e 'quit app "Code"'

    rm -rf ~/Library/Application\ Support/Code/
    rm -rf ~/Library/Caches/com.microsoft.VSCode
    rm -rf ~/Library/Caches/com.microsoft.VSCode.ShipIt
    rm -rf ~/Library/Saved\ Application\ State/com.microsoft.VSCode.savedState/

    rm -f ~/Library/Preferences/com.microsoft.VSCode.plist
    rm -f ~/Library/Caches/com.microsoft.VSCode
    rm -rf ~/.vscode

    sudo rm -rf /Applications/Visual\ Studio\ Code.app
    ```

    ## Credits
    1. [https://stackoverflow.com/questions/42603103/how-to-completely-uninstall-vscode-on-mac](https://stackoverflow.com/questions/42603103/how-to-completely-uninstall-vscode-on-mac)
    2. [https://apple.stackexchange.com/questions/354954/how-can-i-quit-an-app-using-terminal](https://apple.stackexchange.com/questions/354954/how-can-i-quit-an-app-using-terminal)