24.04 – Remove VS Code in WSL
After typing code .
in WSL running Ubuntu 24.04, VS Code automatically installed itself. I am now trying to uninstall it, but cannot find it anywhere. sudo apt purge code
, sudo apt-get purge code
, sudo dpkg --purge code
, and sudo snap remove --purge code
all tell me that code was not installed. The same holds for alternative names, incl. vscode
and visual-studio-code
. When I enter code .
, VS Code opens though. It clearly is installed.
I want to keep the Windows version of VS Code, but remove its Linux installation. Do you know how I can do that?
Read more here: Source link