ZhangZhihui's Blog  

Linux

To uninstall VS Code on Linux, you should use your package manager's uninstall or remove option. The exact command line will differ depending on which package manager you used (for example, apt-getrpndnfyum, etc.).

The names for the VS Code packages are:

  • code - VS Code Stable release
  • code-insiders - VS Code Insiders release

For example, if you installed VS Code via the Debian package (.deb) and apt-get package manager, you would run:

sudo apt-get remove code

where code is the name of the VS Code Debian package.

Clean uninstall

If you want to remove all user data after uninstalling VS Code, you can delete the user data folders Code and .vscode. This will return you to the state before you installed VS Code. This can also be used to reset all settings if you don't want to uninstall VS Code.

The folder locations will vary depending on your platform:

  • Windows - Delete %APPDATA%\Code and %USERPROFILE%\.vscode.
  • macOS - Delete $HOME/Library/Application Support/Code and ~/.vscode.
  • Linux - Delete $HOME/.config/Code and ~/.vscode.

 

Copied from: https://code.visualstudio.com/docs/setup/uninstall

posted on 2023-08-30 10:23  ZhangZhihuiAAA  阅读(39)  评论(0编辑  收藏  举报