How to Remove VS Code from Ubuntu and Reinstall
- Posted by Admin
- on June 25, 2024
- in Programming, Linux
- No Comments.
Post Views: 869
This is the article to showcase the steps to remove Visual Studio Code (VS Code) from ubuntu using terminal.
Contents
Method 1:
Open Ubuntu Terminal and run commands step by step:
sudo apt-get purge code
rm -r ~/.vscode/
rm -r ~/.config/Code/
Method 2:
Open Ubuntu Terminal and run single command:
sudo snap remove code
Reinstalling VS Code
1. Microsoft Official Website
Detailed guidelines has been show on official VS Code on Microsoft’s Website:
https://code.visualstudio.com/docs/setup/linux
2. Snap Store
Install using the command line in Terminal
sudo snap install code --classic