Try agent mode in VS Code!
Dismiss this update
The steps for uninstalling Visual Studio Code will depend on your platform (Windows, macOS, or Linux) and the install option that you used. For example on Windows, you can use the System or User Windows Installers or download a .zip
file and extract the contents anywhere on your machine.
In general, you would uninstall VS Code as you would any other desktop application and follow your platform's recommended flow for uninstalling software. Specific platform guidance is provided below as well as how to completely clean up any remaining VS Code configuration files.
If you installed VS Code via the Windows Installer, either the User or System version, use the installer to remove VS Code.
If you installed VS Code on Windows by downloading and extracting one of the .zip
files found on the Visual Studio Code website, you can uninstall by deleting the folder where you extracted the .zip
contents.
To uninstall VS Code on macOS, open Finder and go to Applications. Right-click on the Visual Studio Code application and select Move to Trash.
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-get
, rpn
, dnf
, yum
, etc.).
The names for the VS Code packages are:
code
- VS Code Stable releasecode-insiders
- VS Code Insiders releaseFor 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.
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:
%APPDATA%\Code
and %USERPROFILE%\.vscode
.$HOME/Library/Application Support/Code
and ~/.vscode
.$HOME/.config/Code
and ~/.vscode
.