How can I uninstall VS Code completely from my computer?
To completely uninstall VS Code, first determine if it was installed for all users or just your account. On Windows, check if the executable is in C:\Program Files\Microsoft VS Code (all users) or C:\Users\YourName\AppData\Local\Programs\Microsoft VS Code (user-specific). 1. Uninstall the main app via Settings > Apps > Apps & Features (Windows), drag to Trash (macOS), or use package manager (Linux). 2. Delete leftover config and extension files manually from ~/.vscode or %APPDATA%\Code, ~/.config/Code or %APPDATA%\Roaming\Code, and user-specific folders like ~/.vscode-insiders. 3. Optionally clear terminal shell settings and logs found in %APPDATA%\Code\logs (Windows) or ~/.vscode/logs (macOS/Linux). This ensures a clean removal with no remaining data.
Uninstalling VS Code completely isn’t just about deleting the app — there are leftover files and settings that stick around. If you want a clean removal, here’s how to do it right.
Check if You Installed It for Just You or All Users
When you installed VS Code, you might have chosen either a user-specific install or one that applies to all users on the computer. This affects where the files are stored.
- On Windows, if it was installed for all users, the main folder is usually in
C:\Program Files\Microsoft VS Code. - If it was just your account, look under
C:\Users\YourName\AppData\Local\Programs\Microsoft VS Code.
You can check by looking at where the executable (code.exe) lives. Once you know which version you're running, you’ll know which folders to delete later.
Remove the Main App Like Any Other Program
The first step is straightforward: uninstall it through your system’s app manager.
- On Windows, go to Settings > Apps > Apps & Features, find "Visual Studio Code," and click Uninstall.
- On macOS, drag the VS Code app from your Applications folder to the Trash.
- On Linux, use your package manager or run something like
sudo apt remove codedepending on your distro.
This removes most of the core files, but not everything.
Delete Leftover Config and Extension Files
VS Code stores config files, extensions, and cache in hidden folders. These aren’t removed during a normal uninstall.
Here are the common paths you should manually delete:
-
~/.vscode(Linux/macOS) or%APPDATA%\Code(Windows) -
~/.config/Code(Linux) or%APPDATA%\Roaming\Code(Windows) - User-specific settings:
~/.vscode-insidersor similar if you used Insiders builds
These folders contain things like keyboard shortcuts, recent projects, themes, and extensions. If you plan to reinstall, deleting these resets everything to default.
Optional: Clear Terminal Shell Settings and Logs
If you used custom shells inside VS Code (like PowerShell or zsh), some startup scripts may have been modified. Also, logs are kept in:
- Windows:
%APPDATA%\Code\logs - macOS/Linux:
~/.vscode/logs
You probably don’t need these unless you're troubleshooting or moving to another setup. Still, good to be aware they exist.
That's basically it — it doesn't take long once you know where everything is hiding.
The above is the detailed content of How can I uninstall VS Code completely from my computer?. For more information, please follow other related articles on the PHP Chinese website!
Hot AI Tools
Undress AI Tool
Undress images for free
Undresser.AI Undress
AI-powered app for creating realistic nude photos
AI Clothes Remover
Online AI tool for removing clothes from photos.
Clothoff.io
AI clothes remover
Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!
Hot Article
Hot Tools
Notepad++7.3.1
Easy-to-use and free code editor
SublimeText3 Chinese version
Chinese version, very easy to use
Zend Studio 13.0.1
Powerful PHP integrated development environment
Dreamweaver CS6
Visual web development tools
SublimeText3 Mac version
God-level code editing software (SublimeText3)
What are the system requirements for running VS Code?
Jul 15, 2025 am 01:56 AM
VisualStudioCode runs smoothly on lower configuration hardware. The minimum configuration requirements are: 64-bit Windows 10 or higher, macOS 10.13 or higher, modern mainstream Linux distribution; the processor requires 1.6GHz or above (duo core recommended); at least 4GB of memory (8GB is recommended for handling large projects); about 500MB of available disk space; resolution 1024x768 or above. Recommended configurations include 8–16GB of memory, SSD storage, multi-core CPU and larger screens or multiple monitors for improved performance and development experience. Optimization suggestions for low-end devices include: disabling unnecessary extensions, turning off automatic saving, using built-in terminals, avoiding opening large folders directly,
How do I use environment variables in VS Code tasks?
Jul 07, 2025 am 12:59 AM
YoucanuseenvironmentvariablesinVSCodetasksviathe${env:VARIABLE_NAME}syntax.1.Referencevariablesdirectlyintasks.jsontoavoidhardcodingsensitivedataormachine-specificvalues.2.Providedefaultvalueswith"${env:VARIABLE_NAME:-default_value}"topreve
How do I use VS Code's settings sync feature?
Jul 03, 2025 am 12:43 AM
TosyncVSCodesettingsacrossdevices,signinwithaGitHuborMicrosoftaccount,customizewhatgetssynced,andmanuallytriggersyncwhenneeded.First,openVSCodeandsigninviatheprofileiconorCommandPaletteusing"Sync:TurnonSync".Next,choosewhattosyncsuchassetti
What are VS Code workspaces, and how are they used?
Jul 10, 2025 pm 12:33 PM
VSCode workspace is a .code-workspace file that saves project-specific configurations. 1. It supports multi-root directory, debug configuration, shortcut key settings and extension recommendations, and is suitable for managing different needs of multiple projects. 2. The main scenarios include multi-project collaboration, customized development environment and team sharing configuration. 3. The creation method is to save the configuration through the menu File>SaveWorkspaceAs.... 4. Notes include distinguishing between .code-workspace and .vscode/settings.json, using relative paths, and avoiding storing sensitive information.
How do I configure task arguments in VS Code?
Jul 12, 2025 am 01:41 AM
TopassargumentsinVSCodetasks,configuretheargsarrayintasks.json.1.Structurecommandpartsbyseparatingthecommandanditsargumentsintocommandandargs,e.g.,"command":"python"and"args":["process.py","input.txt"
Why is the VS Code terminal not working?
Jul 05, 2025 am 01:52 AM
TheVSCodeterminalnotworkingisoftenduetoafrozenterminal,misconfiguredshellsettings,conflictingextensionsorstartupscripts,oracorruptedcache/installation.1.FirstcheckiftheterminalisfrozenbytypingacommandlikelsordirandpressingEnter;ifunresponsive,closean
How do I push changes to a remote repository in VS Code?
Jul 08, 2025 am 01:05 AM
TopushchangestoaremoterepositoryinVSCode,followthesesteps:1.EnsureGitisinstalledandconfiguredbycheckingtheversionandsettingyourusernameandemail.2.Makechangestofiles,whichwillappearundertheSourceControltab.3.Stagechangesselectivelyorallatonceusingthe
How do I use VS Code with Angular?
Jul 13, 2025 am 01:39 AM
Using VSCode to develop Angular projects is efficient and convenient, and the key is to configure the environment correctly. First install Node.js and npm; secondly, install AngularCLI globally through npm to create projects and generate components; then install AngularLanguageService, Prettier, ESLint and debug plug-ins in VSCode to improve the development experience; then use ngnew command to create a project and open it in VSCode; use IntelliSense to achieve automatic code completion, quickly navigate files through Ctrl P, and use F12 jump definition; run ngserve to start the development server and enable automatic reloading; configure


