Site icon

How to Remove VS Code from Ubuntu and Reinstall

This is the article to showcase the steps to remove Visual Studio Code (VS Code) from ubuntu using terminal.

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

Spread the love
Exit mobile version